summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hercek <hercek at sf dot net>2009-01-11 13:23:08 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2009-01-11 13:23:08 (GMT)
commit4e831484d55398e5c328aeb531060ffaf997f300 (patch)
tree61b5ded8d8b845e6bd5191340967a2451b836dd2
parentf5fdbab98c437fe4eb5f74d82152a9a9ef7a47ed (diff)
downloadfluxbox_lack-4e831484d55398e5c328aeb531060ffaf997f300.zip
fluxbox_lack-4e831484d55398e5c328aeb531060ffaf997f300.tar.bz2
fixed resize bug (caused by typo, see #2498507)
-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();