aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authorsimonb <simonb>2007-08-04 17:14:13 (GMT)
committersimonb <simonb>2007-08-04 17:14:13 (GMT)
commitb27336033143158acbde1d2f36977dd25c10ab96 (patch)
tree7e7ac6b5e6fa892ad646d86d0c61dbce0fa05d9e /src/SystemTray.hh
parentc144b7344d1724e9f9a9ed282b564598fe850fba (diff)
downloadfluxbox-b27336033143158acbde1d2f36977dd25c10ab96.zip
fluxbox-b27336033143158acbde1d2f36977dd25c10ab96.tar.bz2
Fix system tray restart issues
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh
index 392ca11..557d1e4 100644
--- a/src/SystemTray.hh
+++ b/src/SystemTray.hh
@@ -60,7 +60,7 @@ public:
60 void handleEvent(XEvent &event); 60 void handleEvent(XEvent &event);
61 61
62 void addClient(Window win); 62 void addClient(Window win);
63 void removeClient(Window win); 63 void removeClient(Window win, bool destroyed);
64 64
65 unsigned int width() const; 65 unsigned int width() const;
66 unsigned int height() const; 66 unsigned int height() const;
@@ -83,7 +83,7 @@ private:
83 83
84 void rearrangeClients(); 84 void rearrangeClients();
85 void removeAllClients(); 85 void removeAllClients();
86 void hideClient(TrayWindow *traywin); 86 void hideClient(TrayWindow *traywin, bool destroyed = false);
87 void showClient(TrayWindow *traywin); 87 void showClient(TrayWindow *traywin);
88 88
89 FbTk::FbWindow m_window; 89 FbTk::FbWindow m_window;
@@ -95,6 +95,10 @@ private:
95 95
96 ClientList m_clients; 96 ClientList m_clients;
97 size_t m_num_visible_clients; 97 size_t m_num_visible_clients;
98
99 // gaim/pidgin seems to barf if the selection is not an independent window.
100 // I suspect it's an interacton with parent relationship and gdk window caching.
101 FbTk::FbWindow m_selection_owner;
98}; 102};
99 103
100#endif // SYSTEMTRAY_HH 104#endif // SYSTEMTRAY_HH