From 67f5dd9dd79b5b6b5a4972cf31ba95692a1c2a88 Mon Sep 17 00:00:00 2001 From: rathnor Date: Sun, 23 Feb 2003 21:32:37 +0000 Subject: fix shade size bug --- src/FbWinFrame.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 1444438..a96d96c 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: FbWinFrame.cc,v 1.13 2003/02/23 13:40:22 rathnor Exp $ +// $Id: FbWinFrame.cc,v 1.14 2003/02/23 21:32:37 rathnor Exp $ #include "FbWinFrame.hh" #include "ImageControl.hh" @@ -140,7 +140,7 @@ void FbWinFrame::shade() { if (!m_shaded) { m_width_before_shade = m_window.width(); m_height_before_shade = m_window.height(); - m_window.resize(m_window.width(), m_titlebar.height() + 2*m_titlebar.borderWidth()); + m_window.resize(m_window.width(), m_titlebar.height()); } else { m_window.resize(m_width_before_shade, m_height_before_shade); m_grip_left.clear(); -- cgit v0.11.2