diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 11:44:48 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 11:44:48 (GMT) |
commit | 86819abab91cf3ea20540278d00bad6a6b86d4b0 (patch) | |
tree | c8020d6015f3607a67730c6873a062fe29743356 /src/FocusableList.hh | |
parent | f5113e2ec1743d76ac414a020f617917c7933bb7 (diff) | |
download | fluxbox-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.hh | 5 |
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 @@ | |||
35 | class BScreen; | 36 | class BScreen; |
36 | class Focusable; | 37 | class Focusable; |
37 | 38 | ||
38 | class FocusableList: public FbTk::Observer, private FbTk::NotCopyable { | 39 | class FocusableList: public FbTk::Observer, private FbTk::NotCopyable, |
40 | private FbTk::SignalTracker { | ||
39 | public: | 41 | public: |
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; |