diff options
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r-- | src/gui/widgets/window.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index e49af5f15..39e09ef4a 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -42,6 +42,8 @@ #include "debug.h" +const int resizeMask = 8 + 4 + 2 + 1; + int Window::instances = 0; int Window::mouseResize = 0; @@ -923,7 +925,7 @@ int Window::getResizeHandles(const gcn::MouseEvent &event) return resizeHandles; } -bool Window::isResizeAllowed(const gcn::MouseEvent &event) +bool Window::isResizeAllowed(const gcn::MouseEvent &event) const { const int y = event.getY(); |