update systemtray alpha with toolbar alpha
markt markt
3 files changed,
14 insertions(+),
13 deletions(-)
M
src/SystemTray.cc
→
src/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.hh
→
src/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(); }