all repos — fluxbox @ 7965166d82d3a21413812e912815c546d84f95b8

custom fork of the fluxbox windowmanager

reduced flicker with transparency
fluxgen fluxgen
commit

7965166d82d3a21413812e912815c546d84f95b8

parent

03fd9e1147cc14a47158215f7693b94c6c514978

1 files changed, 19 insertions(+), 15 deletions(-)

jump to
M src/FbWinFrame.ccsrc/FbWinFrame.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.44 2003/09/10 09:53:21 fluxgen Exp $ +// $Id: FbWinFrame.cc,v 1.45 2003/09/10 21:43:54 fluxgen Exp $ #include "FbWinFrame.hh"

@@ -688,7 +688,9 @@ (*btn_it)->clear();

(*btn_it)->updateTransparent(); } m_titlebar.clear(); + m_titlebar.updateTransparent(); m_label.clear(); + m_label.updateTransparent(); } void FbWinFrame::redrawTitlebar() {

@@ -1065,6 +1067,7 @@ else

button.setBackgroundColor(m_label_focused_color); button.clear(); + button.updateTransparent(); } void FbWinFrame::renderButtonUnfocus(FbTk::TextButton &button) {

@@ -1079,25 +1082,26 @@ else

button.setBackgroundColor(m_label_unfocused_color); button.clear(); + button.updateTransparent(); } void FbWinFrame::updateTransparent() { redrawTitlebar(); - - ButtonList::iterator button_it = m_buttons_left.begin(); - ButtonList::iterator button_it_end = m_buttons_left.begin(); - for (; button_it != button_it_end; ++button_it) { - (*button_it)->clear(); - (*button_it)->updateTransparent(); - } - - button_it = m_buttons_right.begin(); - button_it_end = m_buttons_right.end(); - for (; button_it != button_it_end; ++button_it) { - (*button_it)->clear(); - (*button_it)->updateTransparent(); - } + /* + ButtonList::iterator button_it = m_buttons_left.begin(); + ButtonList::iterator button_it_end = m_buttons_left.begin(); + for (; button_it != button_it_end; ++button_it) { + (*button_it)->clear(); + (*button_it)->updateTransparent(); + } + button_it = m_buttons_right.begin(); + button_it_end = m_buttons_right.end(); + for (; button_it != button_it_end; ++button_it) { + (*button_it)->clear(); + (*button_it)->updateTransparent(); + } + */ m_grip_left.updateTransparent(); m_grip_right.updateTransparent(); m_handle.updateTransparent();