aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 11:44:48 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 11:44:48 (GMT)
commit86819abab91cf3ea20540278d00bad6a6b86d4b0 (patch)
treec8020d6015f3607a67730c6873a062fe29743356 /src/FocusableList.hh
parentf5113e2ec1743d76ac414a020f617917c7933bb7 (diff)
downloadfluxbox-86819abab91cf3ea20540278d00bad6a6b86d4b0.zip
fluxbox-86819abab91cf3ea20540278d00bad6a6b86d4b0.tar.bz2
Changed current workspace signal in BScreen to use the new signal system
Diffstat (limited to 'src/FocusableList.hh')
-rw-r--r--src/FocusableList.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FocusableList.hh b/src/FocusableList.hh
index a72e2f0..1dd8437 100644
--- a/src/FocusableList.hh
+++ b/src/FocusableList.hh
@@ -25,6 +25,7 @@
25#include "FbTk/NotCopyable.hh" 25#include "FbTk/NotCopyable.hh"
26#include "FbTk/Observer.hh" 26#include "FbTk/Observer.hh"
27#include "FbTk/Subject.hh" 27#include "FbTk/Subject.hh"
28#include "FbTk/Signal.hh"
28 29
29#include "ClientPattern.hh" 30#include "ClientPattern.hh"
30 31
@@ -35,7 +36,8 @@
35class BScreen; 36class BScreen;
36class Focusable; 37class Focusable;
37 38
38class FocusableList: public FbTk::Observer, private FbTk::NotCopyable { 39class FocusableList: public FbTk::Observer, private FbTk::NotCopyable,
40 private FbTk::SignalTracker {
39public: 41public:
40 typedef std::list<Focusable *> Focusables; 42 typedef std::list<Focusable *> Focusables;
41 43
@@ -110,6 +112,7 @@ private:
110 void detachSignals(Focusable &win); 112 void detachSignals(Focusable &win);
111 void reset(); 113 void reset();
112 void attachChild(FocusableList &child) const; 114 void attachChild(FocusableList &child) const;
115 void workspaceChanged(BScreen& screen);
113 116
114 std::auto_ptr<ClientPattern> m_pat; 117 std::auto_ptr<ClientPattern> m_pat;
115 const FocusableList *m_parent; 118 const FocusableList *m_parent;