aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-16 08:13:45 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-16 08:13:45 (GMT)
commit855ff278aff6c0903eb6177c017d9936d2dd82ee (patch)
tree794e5e95e1432a88807df8d31ded43eebf89cd98 /src/FbWinFrame.cc
parent2815393751463b7d35ee5838d96a16ab74adf414 (diff)
downloadfluxbox_pavel-855ff278aff6c0903eb6177c017d9936d2dd82ee.zip
fluxbox_pavel-855ff278aff6c0903eb6177c017d9936d2dd82ee.tar.bz2
move some code around
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 234364e..a806888 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -871,8 +871,13 @@ void FbWinFrame::reconfigure() {
871 gravityTranslate(grav_x, grav_y, -m_active_gravity, m_active_orig_client_bw, false); 871 gravityTranslate(grav_x, grav_y, -m_active_gravity, m_active_orig_client_bw, false);
872 872
873 m_bevel = theme()->bevelWidth(); 873 m_bevel = theme()->bevelWidth();
874 // reconfigure can't set borderwidth, as it doesn't know 874 setBorderWidth(m_decoration_mask & DECORM_BORDER ?
875 // if it's meant to be borderless or not 875 theme()->border().width() : 0);
876
877 if (m_decoration_mask & DECORM_HANDLE && theme()->handleWidth() != 0)
878 showHandle();
879 else
880 hideHandle();
876 881
877 unsigned int orig_handle_h = handle().height(); 882 unsigned int orig_handle_h = handle().height();
878 if (m_use_handle && orig_handle_h != theme()->handleWidth()) 883 if (m_use_handle && orig_handle_h != theme()->handleWidth())