aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
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())