diff options
Diffstat (limited to 'src/Slit.hh')
-rw-r--r-- | src/Slit.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Slit.hh b/src/Slit.hh index 19e4698..e1bcc5e 100644 --- a/src/Slit.hh +++ b/src/Slit.hh | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "FbTk/Timer.hh" | 38 | #include "FbTk/Timer.hh" |
39 | #include "FbTk/Resource.hh" | 39 | #include "FbTk/Resource.hh" |
40 | #include "FbTk/XLayerItem.hh" | 40 | #include "FbTk/XLayerItem.hh" |
41 | #include "FbTk/Signal.hh" | ||
41 | 42 | ||
42 | #include <X11/Xutil.h> | 43 | #include <X11/Xutil.h> |
43 | 44 | ||
@@ -51,7 +52,9 @@ class Strut; | |||
51 | class Layer; | 52 | class Layer; |
52 | 53 | ||
53 | /// Handles dock apps | 54 | /// Handles dock apps |
54 | class Slit: public FbTk::EventHandler, public FbTk::Observer, public LayerObject { | 55 | class Slit: public FbTk::EventHandler, public FbTk::Observer, |
56 | public LayerObject, private FbTk::SignalTracker | ||
57 | { | ||
55 | public: | 58 | public: |
56 | typedef std::list<SlitClient *> SlitClients; | 59 | typedef std::list<SlitClient *> SlitClients; |
57 | /** | 60 | /** |
@@ -129,6 +132,9 @@ public: | |||
129 | const SlitClients &clients() const { return m_client_list; } | 132 | const SlitClients &clients() const { return m_client_list; } |
130 | SlitClients &clients() { return m_client_list; } | 133 | SlitClients &clients() { return m_client_list; } |
131 | private: | 134 | private: |
135 | /// Called when screen has changed | ||
136 | void updateForScreen(BScreen &screen); | ||
137 | |||
132 | void updateAlpha(); | 138 | void updateAlpha(); |
133 | void clearWindow(); | 139 | void clearWindow(); |
134 | void setupMenu(); | 140 | void setupMenu(); |