From 4e831484d55398e5c328aeb531060ffaf997f300 Mon Sep 17 00:00:00 2001 From: Peter Hercek Date: Sun, 11 Jan 2009 14:23:08 +0100 Subject: fixed resize bug (caused by typo, see #2498507) --- src/FbWinFrame.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 711e993..2975252 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc @@ -1703,7 +1703,7 @@ int FbWinFrame::yOffset() const { void FbWinFrame::applySizeHints(unsigned int &width, unsigned int &height, bool maximizing) const { - const int h = height - titlebarHeight() + handleHeight(); + const int h = height - titlebarHeight() - handleHeight(); height = max(h, static_cast(titlebarHeight() + handleHeight())); sizeHints().apply(width, height, maximizing); height += titlebarHeight() + handleHeight(); -- cgit v0.11.2