summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbWinFrame.cc2
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
1704void FbWinFrame::applySizeHints(unsigned int &width, unsigned int &height, 1704void 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();