diff options
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index 781d784..1a69a48 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: SystemTray.cc,v 1.5 2004/01/19 18:22:57 fluxgen Exp $ | 22 | // $Id: SystemTray.cc,v 1.6 2004/01/21 13:35:10 fluxgen Exp $ |
23 | 23 | ||
24 | #include "SystemTray.hh" | 24 | #include "SystemTray.hh" |
25 | 25 | ||
@@ -215,7 +215,7 @@ void SystemTray::addClient(Window win) { | |||
215 | #ifdef DEBUG | 215 | #ifdef DEBUG |
216 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): 0x"<<hex<<win<<dec<<endl; | 216 | cerr<<__FILE__<<"("<<__FUNCTION__<<"): 0x"<<hex<<win<<dec<<endl; |
217 | #endif // DEBUG | 217 | #endif // DEBUG |
218 | if (m_clients.size() == 0) | 218 | if (m_clients.empty()) |
219 | show(); | 219 | show(); |
220 | 220 | ||
221 | FbTk::FbWindow *traywin = new TrayWindow(win); | 221 | FbTk::FbWindow *traywin = new TrayWindow(win); |
@@ -244,7 +244,7 @@ void SystemTray::removeClient(Window win) { | |||
244 | delete traywin; | 244 | delete traywin; |
245 | resize(width(), height()); | 245 | resize(width(), height()); |
246 | rearrangeClients(); | 246 | rearrangeClients(); |
247 | if (m_clients.size() == 0) { | 247 | if (m_clients.empty()) { |
248 | // so we send configurenotify signal to parent | 248 | // so we send configurenotify signal to parent |
249 | m_window.resize(1, 1); | 249 | m_window.resize(1, 1); |
250 | hide(); | 250 | hide(); |