diff options
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r-- | src/SystemTray.hh | 8 |
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 |