From ae6e193aa706324981f0c60dfe6faa2152b07ac7 Mon Sep 17 00:00:00 2001 From: rathnor Date: Thu, 2 Oct 2003 13:09:24 +0000 Subject: fix rendering of window frame on focus change --- ChangeLog | 3 +++ src/FbWinFrame.cc | 11 ++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d1024a5..69b8c94 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.6: +*03/10/02: + * Fix updating of window on focus change (Simon) + FbWinFrame.cc *03/09/29: * Fix aterm not updating on opaque move (Thanks Mathias Gumz) Window.cc diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index fb309b4..77e94ec 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.54 2003/09/24 14:02:25 rathnor Exp $ +// $Id: FbWinFrame.cc,v 1.55 2003/10/02 13:09:24 rathnor Exp $ #include "FbWinFrame.hh" @@ -238,6 +238,7 @@ void FbWinFrame::setFocus(bool newvalue) { m_focused = newvalue; + renderTitlebar(); renderButtons(); renderHandles(); } @@ -881,8 +882,16 @@ void FbWinFrame::renderHandles() { } m_grip_left.setAlpha(theme().alpha()); + m_grip_left.clear(); + m_grip_left.updateTransparent(); + m_grip_right.setAlpha(theme().alpha()); + m_grip_right.clear(); + m_grip_right.updateTransparent(); + m_handle.setAlpha(theme().alpha()); + m_handle.clear(); + m_handle.updateTransparent(); } -- cgit v0.11.2