diff options
author | fluxgen <fluxgen> | 2003-08-11 16:57:11 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-11 16:57:11 (GMT) |
commit | 2248c548a564550092d67c068f5cda7fbc571a6e (patch) | |
tree | 4e5ab1bf4edb53ebc206bd4dac0e25dfae164230 /src | |
parent | 6016857678cc2a58bfb8af62e5474c3671d7bd38 (diff) | |
download | fluxbox_lack-2248c548a564550092d67c068f5cda7fbc571a6e.zip fluxbox_lack-2248c548a564550092d67c068f5cda7fbc571a6e.tar.bz2 |
added focus sig and updated for time command
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.hh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Window.hh b/src/Window.hh index 135c172..f65d17c 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.hh,v 1.90 2003/07/28 16:29:25 rathnor Exp $ | 25 | // $Id: Window.hh,v 1.91 2003/08/11 16:57:11 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef WINDOW_HH | 27 | #ifndef WINDOW_HH |
28 | #define WINDOW_HH | 28 | #define WINDOW_HH |
@@ -54,7 +54,7 @@ class XLayer; | |||
54 | }; | 54 | }; |
55 | 55 | ||
56 | /// Creates the window frame and handles any window event for it | 56 | /// Creates the window frame and handles any window event for it |
57 | class FluxboxWindow : public FbTk::TimeoutHandler, public FbTk::EventHandler { | 57 | class FluxboxWindow: public FbTk::EventHandler { |
58 | public: | 58 | public: |
59 | /// Represents certain "preset" sets of decorations. | 59 | /// Represents certain "preset" sets of decorations. |
60 | enum Decoration { | 60 | enum Decoration { |
@@ -249,8 +249,6 @@ public: | |||
249 | unsigned int decorationMask() const; | 249 | unsigned int decorationMask() const; |
250 | void setDecorationMask(unsigned int mask); | 250 | void setDecorationMask(unsigned int mask); |
251 | 251 | ||
252 | virtual void timeout(); | ||
253 | |||
254 | /** | 252 | /** |
255 | @name accessors | 253 | @name accessors |
256 | */ | 254 | */ |
@@ -338,6 +336,7 @@ public: | |||
338 | const FbTk::Subject &workspaceSig() const { return m_workspacesig; } | 336 | const FbTk::Subject &workspaceSig() const { return m_workspacesig; } |
339 | FbTk::Subject &dieSig() { return m_diesig; } | 337 | FbTk::Subject &dieSig() { return m_diesig; } |
340 | const FbTk::Subject &dieSig() const { return m_diesig; } | 338 | const FbTk::Subject &dieSig() const { return m_diesig; } |
339 | FbTk::Subject &focusSig() { return m_focussig; } | ||
341 | /** @} */ // end group signals | 340 | /** @} */ // end group signals |
342 | 341 | ||
343 | const timeval &lastFocusTime() const { return m_last_focus_time;} | 342 | const timeval &lastFocusTime() const { return m_last_focus_time;} |
@@ -398,7 +397,7 @@ private: | |||
398 | /// sends configurenotify to all clients | 397 | /// sends configurenotify to all clients |
399 | void sendConfigureNotify(bool send_to_netizens = true); | 398 | void sendConfigureNotify(bool send_to_netizens = true); |
400 | // state and hint signals | 399 | // state and hint signals |
401 | WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig; | 400 | WinSubject m_hintsig, m_statesig, m_layersig, m_workspacesig, m_diesig, m_focussig; |
402 | 401 | ||
403 | // Window states | 402 | // Window states |
404 | bool moving, resizing, shaded, iconic, | 403 | bool moving, resizing, shaded, iconic, |