aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-10-02 13:09:24 (GMT)
committerrathnor <rathnor>2003-10-02 13:09:24 (GMT)
commitae6e193aa706324981f0c60dfe6faa2152b07ac7 (patch)
tree73e3d04190b79e52092e54960d9317ffd35d3e44
parent412897c99a81377a93981cae098710d8ffd52fd2 (diff)
downloadfluxbox_pavel-ae6e193aa706324981f0c60dfe6faa2152b07ac7.zip
fluxbox_pavel-ae6e193aa706324981f0c60dfe6faa2152b07ac7.tar.bz2
fix rendering of window frame on focus change
-rw-r--r--ChangeLog3
-rw-r--r--src/FbWinFrame.cc11
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d1024a5..69b8c94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.6: 2Changes for 0.9.6:
3*03/10/02:
4 * Fix updating of window on focus change (Simon)
5 FbWinFrame.cc
3*03/09/29: 6*03/09/29:
4 * Fix aterm not updating on opaque move (Thanks Mathias Gumz) 7 * Fix aterm not updating on opaque move (Thanks Mathias Gumz)
5 Window.cc 8 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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbWinFrame.cc,v 1.54 2003/09/24 14:02:25 rathnor Exp $ 22// $Id: FbWinFrame.cc,v 1.55 2003/10/02 13:09:24 rathnor Exp $
23 23
24#include "FbWinFrame.hh" 24#include "FbWinFrame.hh"
25 25
@@ -238,6 +238,7 @@ void FbWinFrame::setFocus(bool newvalue) {
238 238
239 m_focused = newvalue; 239 m_focused = newvalue;
240 240
241 renderTitlebar();
241 renderButtons(); 242 renderButtons();
242 renderHandles(); 243 renderHandles();
243} 244}
@@ -881,8 +882,16 @@ void FbWinFrame::renderHandles() {
881 } 882 }
882 883
883 m_grip_left.setAlpha(theme().alpha()); 884 m_grip_left.setAlpha(theme().alpha());
885 m_grip_left.clear();
886 m_grip_left.updateTransparent();
887
884 m_grip_right.setAlpha(theme().alpha()); 888 m_grip_right.setAlpha(theme().alpha());
889 m_grip_right.clear();
890 m_grip_right.updateTransparent();
891
885 m_handle.setAlpha(theme().alpha()); 892 m_handle.setAlpha(theme().alpha());
893 m_handle.clear();
894 m_handle.updateTransparent();
886 895
887} 896}
888 897