summaryrefslogtreecommitdiff
path: root/plugins/resize/src/resize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/resize/src/resize.cpp')
-rw-r--r--plugins/resize/src/resize.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/resize/src/resize.cpp b/plugins/resize/src/resize.cpp
index a487d90..84cee80 100644
--- a/plugins/resize/src/resize.cpp
+++ b/plugins/resize/src/resize.cpp
@@ -894,7 +894,8 @@ ResizeScreen::handleMotionEvent (int xRoot, int yRoot)
cwi = wi;
che = he;
- if (w->constrainNewWindowSize (wi, he, &cwi, &che))
+ if (w->constrainNewWindowSize (wi, he, &cwi, &che) &&
+ mode != ResizeOptions::ModeNormal)
{
Box box;