aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-02-25 22:19:35 (GMT)
committermarkt <markt>2007-02-25 22:19:35 (GMT)
commit78de14a99ce00b8148cc2a05b54b24c13a26776f (patch)
tree1a9ef3f23f4b00ef4f4e805998475705efed0e9f /src/SystemTray.cc
parent68aa6be21661205004e05b49d96f2571df3a8ff7 (diff)
downloadfluxbox-78de14a99ce00b8148cc2a05b54b24c13a26776f.zip
fluxbox-78de14a99ce00b8148cc2a05b54b24c13a26776f.tar.bz2
update systemtray alpha with toolbar alpha
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}