From f02ce95a6e99aadce48bdc608121496520639e2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Feb 2014 13:07:05 +0300 Subject: adjust windows size if main window was resized to smaller size. --- src/gui/widgets/window.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/window.h') 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 -- cgit v1.2.3-60-g2f50