diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
1703 | 1703 | ||
1704 | void FbWinFrame::applySizeHints(unsigned int &width, unsigned int &height, | 1704 | void FbWinFrame::applySizeHints(unsigned int &width, unsigned int &height, |
1705 | bool maximizing) const { | 1705 | bool maximizing) const { |
1706 | const int h = height - titlebarHeight() + handleHeight(); | 1706 | const int h = height - titlebarHeight() - handleHeight(); |
1707 | height = max(h, static_cast<int>(titlebarHeight() + handleHeight())); | 1707 | height = max(h, static_cast<int>(titlebarHeight() + handleHeight())); |
1708 | sizeHints().apply(width, height, maximizing); | 1708 | sizeHints().apply(width, height, maximizing); |
1709 | height += titlebarHeight() + handleHeight(); | 1709 | height += titlebarHeight() + handleHeight(); |