From 717e207a12f82b4f87bb62e9dc45275c29cb55cc Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 6 Jul 2006 20:09:23 +0000 Subject: update shape after resize, fixes bug #1491571 --- src/FbWinFrame.cc | 3 +++ 1 file changed, 3 insertions(+) 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() { m_height_before_shade = m_window.height(); m_window.resize(m_window.width(), m_titlebar.height()); alignTabs(); + // need to update our shape + if ( m_shape.get() ) + m_shape->update(); } else { // should be unshaded m_window.resize(m_width_before_shade, m_height_before_shade); reconfigure(); -- cgit v0.11.2