aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r--src/SystemTray.cc24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index 98a726a..234ad84 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -486,18 +486,16 @@ void SystemTray::update(FbTk::Subject* subject) {
486 m_window.setBackgroundPixmap(m_pixmap); 486 m_window.setBackgroundPixmap(m_pixmap);
487 } 487 }
488 488
489 // "themereconfigure" 489 ClientList::iterator client_it = m_clients.begin();
490 if (subject) { 490 ClientList::iterator client_it_end = m_clients.end();
491 ClientList::iterator client_it = m_clients.begin(); 491 for (; client_it != client_it_end; ++client_it) {
492 ClientList::iterator client_it_end = m_clients.end(); 492
493 for (; client_it != client_it_end; ++client_it) { 493 // maybe not the best solution (yet), force a refresh of the
494 494 // background of the client
495 // maybe not the best solution (yet), force a refresh of the 495 if (!(*client_it)->isVisible())
496 // background of the client 496 continue;
497 if (!(*client_it)->isVisible()) 497 (*client_it)->hide();
498 continue; 498 (*client_it)->show();
499 (*client_it)->hide();
500 (*client_it)->show();
501 }
502 } 499 }
500
503} 501}