aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authormarkt <markt>2007-02-23 00:36:32 (GMT)
committermarkt <markt>2007-02-23 00:36:32 (GMT)
commite85569f1df2511f4c5f54b5ea5615b6a80014bcc (patch)
tree05ca17d9c12d226ffa9fd55d971531726b38c89a /src/SystemTray.hh
parented96d79a14f3078a291bc569c6c5f8926eacdbb3 (diff)
downloadfluxbox-e85569f1df2511f4c5f54b5ea5615b6a80014bcc.zip
fluxbox-e85569f1df2511f4c5f54b5ea5615b6a80014bcc.tar.bz2
added some support for XEMBED protocol in systemtray
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh6
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
40class TrayWindow;
40class AtomHandler; 41class AtomHandler;
41 42
42class SystemTray: public ToolbarItem, public FbTk::EventHandler, public FbTk::Observer { 43class 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