diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 17:16:33 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 17:16:33 (GMT) |
commit | c37a91e1504fa73da233cc59fe67ead56dbd3083 (patch) | |
tree | 4e233628bd7f8531aeaaf221be816f310dbd4a95 /src/FbWinFrame.cc | |
parent | feac120f4a433d4fee947ff9cc23e170d6af95c0 (diff) | |
download | fluxbox-c37a91e1504fa73da233cc59fe67ead56dbd3083.zip fluxbox-c37a91e1504fa73da233cc59fe67ead56dbd3083.tar.bz2 |
be a little smarter about size hints in tabbed windows
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index f6f591e..bac06d2 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -1860,8 +1860,10 @@ void FbWinFrame::SizeHints::reset(const XSizeHints &sizehint) { | |||
1860 | min_aspect_y = sizehint.min_aspect.y; | 1860 | min_aspect_y = sizehint.min_aspect.y; |
1861 | max_aspect_x = sizehint.max_aspect.x; | 1861 | max_aspect_x = sizehint.max_aspect.x; |
1862 | max_aspect_y = sizehint.max_aspect.y; | 1862 | max_aspect_y = sizehint.max_aspect.y; |
1863 | } else | 1863 | } else { |
1864 | min_aspect_x = min_aspect_y = max_aspect_x = max_aspect_y = 0; | 1864 | min_aspect_x = max_aspect_y = 0; |
1865 | min_aspect_y = max_aspect_x = 1; | ||
1866 | } | ||
1865 | 1867 | ||
1866 | if (sizehint.flags & PWinGravity) | 1868 | if (sizehint.flags & PWinGravity) |
1867 | win_gravity = sizehint.win_gravity; | 1869 | win_gravity = sizehint.win_gravity; |