aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
parent412897c99a81377a93981cae098710d8ffd52fd2 (diff)
downloadfluxbox-ae6e193aa706324981f0c60dfe6faa2152b07ac7.zip
fluxbox-ae6e193aa706324981f0c60dfe6faa2152b07ac7.tar.bz2
fix rendering of window frame on focus change
Diffstat (limited to 'src')
-rw-r--r--src/FbWinFrame.cc11
1 files changed, 10 insertions, 1 deletions
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