update systemtray alpha with toolbar alpha

This commit is contained in:
markt 2007-02-25 22:19:35 +00:00
parent 68aa6be216
commit 78de14a99c
3 changed files with 14 additions and 13 deletions

View file

@ -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

View file

@ -486,18 +486,16 @@ void SystemTray::update(FbTk::Subject* subject) {
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();
}
}

View file

@ -69,7 +69,7 @@ public:
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(); }