diff options
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; |