all repos — fluxbox @ a65511a32e2fc6e8869ccdcf85c9d6db61ae5f5b

custom fork of the fluxbox windowmanager

fix titlebar transparency in some cases
simonb simonb
commit

a65511a32e2fc6e8869ccdcf85c9d6db61ae5f5b

parent

4338fbec76d8ca822dcb21c66b6d8e492ee49020

2 files changed, 6 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

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

(Format: Year/Month/Day) Changes for 0.9.13 +*05/05/07: + * Fix titlebar transparency in some (tabbed) cases (Simon) + FbWinFrame.cc *05/05/06: * Added new Buttons for the Titlebar of a Window (Mathias) - Shade - just like the "Stick"-button
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -271,7 +271,7 @@ return;

m_focused = newvalue; - if (theme().focusedAlpha() != theme().unfocusedAlpha()) { + if (FbTk::Transparent::haveRender() && theme().focusedAlpha() != theme().unfocusedAlpha()) { unsigned char alpha = (m_focused?theme().focusedAlpha():theme().unfocusedAlpha()); if (FbTk::Transparent::haveComposite()) { m_window.setOpaque(alpha);

@@ -280,6 +280,8 @@ LabelList::iterator btn_it = m_labelbuttons.begin();

LabelList::iterator btn_it_end = m_labelbuttons.end(); for (; btn_it != btn_it_end; ++btn_it) { (*btn_it)->setAlpha(alpha); + if (m_current_label != (*btn_it)) + (*btn_it)->updateBackground(false); } } }