diff options
author | Peter Hercek <hercek at sf dot net> | 2009-01-11 13:23:08 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2009-01-11 13:23:08 (GMT) |
commit | 4e831484d55398e5c328aeb531060ffaf997f300 (patch) | |
tree | 61b5ded8d8b845e6bd5191340967a2451b836dd2 | |
parent | f5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed (diff) | |
download | fluxbox_lack-4e831484d55398e5c328aeb531060ffaf997f300.zip fluxbox_lack-4e831484d55398e5c328aeb531060ffaf997f300.tar.bz2 |
fixed resize bug (caused by typo, see #2498507)
-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(); |