all repos — fluxbox @ 78de14a99ce00b8148cc2a05b54b24c13a26776f

custom fork of the fluxbox windowmanager

update systemtray alpha with toolbar alpha
markt markt
commit

78de14a99ce00b8148cc2a05b54b24c13a26776f

parent

68aa6be21661205004e05b49d96f2571df3a8ff7

3 files changed, 14 insertions(+), 13 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,8 @@

(Format: Year/Month/Day) Changes for 1.0rc3: +*07/02/25: + * Update systemtray alpha along with toolbar alpha (Mark) + Systemtray.cc/hh *07/02/23: * Update EWMH state atom when maximizing windows (Mark) Window.cc
M src/SystemTray.ccsrc/SystemTray.cc

@@ -486,18 +486,16 @@ m_theme.texture(), orientation());

m_window.setBackgroundPixmap(m_pixmap); } - // "themereconfigure" - if (subject) { - ClientList::iterator client_it = m_clients.begin(); - ClientList::iterator client_it_end = m_clients.end(); - for (; client_it != client_it_end; ++client_it) { + ClientList::iterator client_it = m_clients.begin(); + ClientList::iterator client_it_end = m_clients.end(); + for (; client_it != client_it_end; ++client_it) { - // maybe not the best solution (yet), force a refresh of the - // background of the client - if (!(*client_it)->isVisible()) - continue; - (*client_it)->hide(); - (*client_it)->show(); - } + // maybe not the best solution (yet), force a refresh of the + // background of the client + if (!(*client_it)->isVisible()) + continue; + (*client_it)->hide(); + (*client_it)->show(); } + }
M src/SystemTray.hhsrc/SystemTray.hh

@@ -69,7 +69,7 @@

int numClients() const { return m_clients.size(); } const FbTk::FbWindow &window() const { return m_window; } - inline void renderTheme(unsigned char alpha) {} + inline void renderTheme(unsigned char alpha) { m_window.setAlpha(alpha); update(0); } inline void updateSizing() {} void parentMoved() { m_window.parentMoved(); }