diff options
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r-- | src/SystemTray.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh index 8be1cd8..0d4afc8 100644 --- a/src/SystemTray.hh +++ b/src/SystemTray.hh | |||
@@ -37,6 +37,7 @@ | |||
37 | 37 | ||
38 | #include <list> | 38 | #include <list> |
39 | 39 | ||
40 | class TrayWindow; | ||
40 | class AtomHandler; | 41 | class AtomHandler; |
41 | 42 | ||
42 | class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { | 43 | class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { |
@@ -77,11 +78,13 @@ private: | |||
77 | 78 | ||
78 | void update(FbTk::Subject *subj); | 79 | void update(FbTk::Subject *subj); |
79 | 80 | ||
80 | typedef std::list<FbTk::FbWindow *> ClientList; | 81 | typedef std::list<TrayWindow *> ClientList; |
81 | ClientList::iterator findClient(Window win); | 82 | ClientList::iterator findClient(Window win); |
82 | 83 | ||
83 | void rearrangeClients(); | 84 | void rearrangeClients(); |
84 | void removeAllClients(); | 85 | void removeAllClients(); |
86 | void hideClient(TrayWindow *traywin); | ||
87 | void showClient(TrayWindow *traywin); | ||
85 | 88 | ||
86 | FbTk::FbWindow m_window; | 89 | FbTk::FbWindow m_window; |
87 | ButtonTheme& m_theme; | 90 | ButtonTheme& m_theme; |
@@ -91,6 +94,7 @@ private: | |||
91 | std::auto_ptr<AtomHandler> m_handler; | 94 | std::auto_ptr<AtomHandler> m_handler; |
92 | 95 | ||
93 | ClientList m_clients; | 96 | ClientList m_clients; |
97 | size_t m_num_visible_clients; | ||
94 | }; | 98 | }; |
95 | 99 | ||
96 | #endif // SYSTEMTRAY_HH | 100 | #endif // SYSTEMTRAY_HH |