From e5dd3d2e85b55931003583ede06fec57c2caaa95 Mon Sep 17 00:00:00 2001 From: rathnor Date: Mon, 6 Oct 2003 09:28:35 +0000 Subject: fix rendering of offscreen windows --- ChangeLog | 2 ++ src/FbWinFrame.cc | 8 ++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 60b293b..eaa24fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.6: *03/10/06: + * Fix rendering of offscreen windows (remove if !visible tests) (Simon) + FbWinFrame.cc * Fix shaped windows+menus (Simon) - make sure all existing menus use shape - fix Shape itself, particularly to work properly with borders diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 5cfd751..09ce28e 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.57 2003/10/05 09:03:43 rathnor Exp $ +// $Id: FbWinFrame.cc,v 1.58 2003/10/06 09:28:35 rathnor Exp $ #include "FbWinFrame.hh" @@ -665,8 +665,6 @@ void FbWinFrame::reconfigure() { } } - if (!m_visible) return; - // render the theme renderButtons(); if (!m_shaded) @@ -845,7 +843,7 @@ void FbWinFrame::renderTitlebar() { void FbWinFrame::renderHandles() { - if (!m_use_handle || !m_visible) + if (!m_use_handle) return; render(m_theme.handleFocusTexture(), m_handle_focused_color, @@ -910,7 +908,6 @@ void FbWinFrame::renderHandles() { } void FbWinFrame::renderButtons() { - if (!m_visible) return; render(m_theme.buttonFocusTexture(), m_button_color, m_button_pm, m_button_size, m_button_size); @@ -1054,7 +1051,6 @@ void FbWinFrame::getUnfocusPixmap(Pixmap &label_pm, Pixmap &title_pm, } void FbWinFrame::renderLabelButtons() { - if (!m_visible) return; Pixmap label_pm = 0; Pixmap not_used_pm = 0; FbTk::Color label_color; -- cgit v0.11.2