fixed resize bug (caused by typo, see #2498507)
Peter Hercek hercek at sf dot net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FbWinFrame.cc
→
src/FbWinFrame.cc
@@ -1703,7 +1703,7 @@ }
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<int>(titlebarHeight() + handleHeight())); sizeHints().apply(width, height, maximizing); height += titlebarHeight() + handleHeight();