diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-04 13:07:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-04 13:07:05 +0300 |
commit | f02ce95a6e99aadce48bdc608121496520639e2d (patch) | |
tree | 168daa32945e2cedaa1719adb80277e3ea0892f5 /src/gui/widgets/window.h | |
parent | 808a0b7aeb9c58724d3ac2e1a8bb8f3d3c2bdb1e (diff) | |
download | manaverse-f02ce95a6e99aadce48bdc608121496520639e2d.tar.gz manaverse-f02ce95a6e99aadce48bdc608121496520639e2d.tar.bz2 manaverse-f02ce95a6e99aadce48bdc608121496520639e2d.tar.xz manaverse-f02ce95a6e99aadce48bdc608121496520639e2d.zip |
adjust windows size if main window was resized to smaller size.
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r-- | src/gui/widgets/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 757ec8c58..bb0f19bb3 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -465,6 +465,8 @@ class Window : public gcn::Window, */ void ensureOnScreen(); + void adjustSizeToScreen(); + /** * Determines if the mouse is in a resize area and returns appropriate * resize handles. Also initializes drag offset in case the resize |