all repos — fluxbox @ 2248c548a564550092d67c068f5cda7fbc571a6e

custom fork of the fluxbox windowmanager

added focus sig and updated for time command
fluxgen fluxgen
commit

2248c548a564550092d67c068f5cda7fbc571a6e

parent

6016857678cc2a58bfb8af62e5474c3671d7bd38

1 files changed, 4 insertions(+), 5 deletions(-)

jump to
M src/Window.hhsrc/Window.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.hh,v 1.90 2003/07/28 16:29:25 rathnor Exp $ +// $Id: Window.hh,v 1.91 2003/08/11 16:57:11 fluxgen Exp $ #ifndef WINDOW_HH #define WINDOW_HH

@@ -54,7 +54,7 @@ class XLayer;

}; /// Creates the window frame and handles any window event for it -class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler { +class FluxboxWindow: public FbTk::EventHandler { public: /// Represents certain "preset" sets of decorations. enum Decoration {

@@ -249,8 +249,6 @@

unsigned int decorationMask() const; void setDecorationMask(unsigned int mask); - virtual void timeout(); - /** @name accessors */

@@ -338,6 +336,7 @@ FbTk::Subject &workspaceSig() { return m_workspacesig; }

const FbTk::Subject &workspaceSig() const { return m_workspacesig; } FbTk::Subject &dieSig() { return m_diesig; } const FbTk::Subject &dieSig() const { return m_diesig; } + FbTk::Subject &focusSig() { return m_focussig; } /** @} */ // end group signals const timeval &lastFocusTime() const { return m_last_focus_time;}

@@ -398,7 +397,7 @@ void resizeClient(WinClient &client, unsigned int width, unsigned int height);

/// sends configurenotify to all clients void sendConfigureNotify(bool send_to_netizens = true); // state and hint signals - WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig; + WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig; // Window states bool moving, resizing, shaded, iconic,