diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-28 08:46:49 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-28 08:46:49 (GMT) |
commit | bcf37890b617730cfded161b9a3d18f7c377e724 (patch) | |
tree | d17e0fe6ac69d023fba66fdc1d176c16174e6a1b /src/Window.hh | |
parent | ed53f3c623e7c3ae35672b33ae3b52759dc1a6ed (diff) | |
download | fluxbox-bcf37890b617730cfded161b9a3d18f7c377e724.zip fluxbox-bcf37890b617730cfded161b9a3d18f7c377e724.tar.bz2 |
Change focused signal to use the new signal system
Diffstat (limited to 'src/Window.hh')
-rw-r--r-- | src/Window.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Window.hh b/src/Window.hh index 8ee2b5c..e5e5c1f 100644 --- a/src/Window.hh +++ b/src/Window.hh | |||
@@ -31,12 +31,14 @@ | |||
31 | #include "FbTk/Observer.hh" | 31 | #include "FbTk/Observer.hh" |
32 | #include "FbTk/EventHandler.hh" | 32 | #include "FbTk/EventHandler.hh" |
33 | #include "FbTk/XLayerItem.hh" | 33 | #include "FbTk/XLayerItem.hh" |
34 | #include "FbTk/Signal.hh" | ||
34 | 35 | ||
35 | #include "FbWinFrame.hh" | 36 | #include "FbWinFrame.hh" |
36 | #include "Focusable.hh" | 37 | #include "Focusable.hh" |
37 | #include "FocusableTheme.hh" | 38 | #include "FocusableTheme.hh" |
38 | #include "WinButton.hh" | 39 | #include "WinButton.hh" |
39 | 40 | ||
41 | |||
40 | #include <sys/time.h> | 42 | #include <sys/time.h> |
41 | #include <vector> | 43 | #include <vector> |
42 | #include <string> | 44 | #include <string> |
@@ -58,7 +60,8 @@ class XLayer; | |||
58 | 60 | ||
59 | /// Creates the window frame and handles any window event for it | 61 | /// Creates the window frame and handles any window event for it |
60 | class FluxboxWindow: public Focusable, public FbTk::Observer, | 62 | class FluxboxWindow: public Focusable, public FbTk::Observer, |
61 | public FbTk::EventHandler { | 63 | public FbTk::EventHandler, |
64 | private FbTk::SignalTracker { | ||
62 | public: | 65 | public: |
63 | /// Motif wm Hints | 66 | /// Motif wm Hints |
64 | enum { | 67 | enum { |
@@ -521,6 +524,8 @@ private: | |||
521 | static void ungrabPointer(Time time); | 524 | static void ungrabPointer(Time time); |
522 | 525 | ||
523 | void associateClient(WinClient &client); | 526 | void associateClient(WinClient &client); |
527 | /// Called when focused changed, and is attached when it is not in fullscreen mode | ||
528 | void focusedWindowChanged(BScreen &screen, FluxboxWindow *focused_win, WinClient* client); | ||
524 | 529 | ||
525 | // state and hint signals | 530 | // state and hint signals |
526 | WinSubject m_hintsig, | 531 | WinSubject m_hintsig, |