From 83a7202a669baa543df9c04f131d272664526b9c Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 11 Feb 2007 22:33:16 +0000 Subject: forgot to revert part of my previous patch --- src/Window.cc | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 00da9d4..c324087 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2814,16 +2814,11 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent &me) { screen().showPosition(dx, dy); } // end if moving - } else if (isResizing() // if we're already resizing the window - || functions.resize - // or if we're dragging one of the grips - && ((me.state & Button1Mask) - && (me.window == frame().gripRight() - || me.window == frame().gripLeft()) - // or if we're right-click dragging the border - || (me.state & Button3Mask) - && me.window == frame().window() - && !Fluxbox::instance()->getIgnoreBorder())) { + } else if (functions.resize && + (((me.state & Button1Mask) && + (me.window == frame().gripRight() || + me.window == frame().gripLeft())) || + me.window == frame().window())) { if (! resizing) { -- cgit v0.11.2