diff options
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r-- | src/fluxbox.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index a6c0b2f..8478833 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -30,6 +30,8 @@ | |||
30 | #include "FbTk/Timer.hh" | 30 | #include "FbTk/Timer.hh" |
31 | #include "FbTk/Observer.hh" | 31 | #include "FbTk/Observer.hh" |
32 | #include "FbTk/SignalHandler.hh" | 32 | #include "FbTk/SignalHandler.hh" |
33 | #include "FbTk/Signal.hh" | ||
34 | |||
33 | #include "AttentionNoticeHandler.hh" | 35 | #include "AttentionNoticeHandler.hh" |
34 | 36 | ||
35 | #include <X11/Xresource.h> | 37 | #include <X11/Xresource.h> |
@@ -74,7 +76,8 @@ class FbAtoms; | |||
74 | */ | 76 | */ |
75 | class Fluxbox : public FbTk::App, | 77 | class Fluxbox : public FbTk::App, |
76 | public FbTk::SignalEventHandler, | 78 | public FbTk::SignalEventHandler, |
77 | public FbTk::Observer { | 79 | public FbTk::Observer, |
80 | private FbTk::SignalTracker { | ||
78 | public: | 81 | public: |
79 | Fluxbox(int argc, char **argv, const char * dpy_name= 0, | 82 | Fluxbox(int argc, char **argv, const char * dpy_name= 0, |
80 | const char *rcfilename = 0, bool xsync = false); | 83 | const char *rcfilename = 0, bool xsync = false); |
@@ -198,6 +201,9 @@ private: | |||
198 | void handleUnmapNotify(XUnmapEvent &ue); | 201 | void handleUnmapNotify(XUnmapEvent &ue); |
199 | void handleClientMessage(XClientMessageEvent &ce); | 202 | void handleClientMessage(XClientMessageEvent &ce); |
200 | 203 | ||
204 | /// Called when workspace count on a specific screen changed. | ||
205 | void workspaceCountChanged( BScreen& screen ); | ||
206 | |||
201 | std::auto_ptr<FbAtoms> m_fbatoms; | 207 | std::auto_ptr<FbAtoms> m_fbatoms; |
202 | 208 | ||
203 | FbTk::ResourceManager m_resourcemanager, &m_screen_rm; | 209 | FbTk::ResourceManager m_resourcemanager, &m_screen_rm; |