aboutsummaryrefslogtreecommitdiff
path: root/src/FbWinFrame.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-07-06 20:09:23 (GMT)
committerfluxgen <fluxgen>2006-07-06 20:09:23 (GMT)
commit717e207a12f82b4f87bb62e9dc45275c29cb55cc (patch)
tree8086b94dc121da7bb71d9c41c82b2f062b6435f3 /src/FbWinFrame.cc
parente4d6824771380f04006c3abb28acc53eb28227e4 (diff)
downloadfluxbox-717e207a12f82b4f87bb62e9dc45275c29cb55cc.zip
fluxbox-717e207a12f82b4f87bb62e9dc45275c29cb55cc.tar.bz2
update shape after resize, fixes bug #1491571
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r--src/FbWinFrame.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc
index 0bf084f..0bb8b64 100644
--- a/src/FbWinFrame.cc
+++ b/src/FbWinFrame.cc
@@ -225,6 +225,9 @@ void FbWinFrame::shade() {
225 m_height_before_shade = m_window.height(); 225 m_height_before_shade = m_window.height();
226 m_window.resize(m_window.width(), m_titlebar.height()); 226 m_window.resize(m_window.width(), m_titlebar.height());
227 alignTabs(); 227 alignTabs();
228 // need to update our shape
229 if ( m_shape.get() )
230 m_shape->update();
228 } else { // should be unshaded 231 } else { // should be unshaded
229 m_window.resize(m_width_before_shade, m_height_before_shade); 232 m_window.resize(m_width_before_shade, m_height_before_shade);
230 reconfigure(); 233 reconfigure();