From: Dana Jansens Date: Wed, 11 Sep 2002 02:14:55 +0000 (+0000) Subject: make alt-right click resizing work on the window handles X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=15ca6904fc8ca0c4ebcfbe1e4f261026fd4e409b;p=chaz%2Fopenbox make alt-right click resizing work on the window handles --- diff --git a/src/Window.cc b/src/Window.cc index dcbb5f08..f21000c1 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3815,11 +3815,14 @@ void BlackboxWindow::motionNotifyEvent(const XMotionEvent *me) { frame.handle == me->window || frame.window == me->window)) { beginMove(me->x_root, me->y_root); } else if ((functions & Func_Resize) && - ((me->state & Button1Mask) && (me->window == frame.right_grip || - me->window == frame.left_grip)) || + ((me->state & Button1Mask) && + (me->window == frame.right_grip || + me->window == frame.left_grip)) || ((me->state & Button3Mask) && (me->state & mod_mask) && (frame.title == me->window || frame.label == me->window || - frame.handle == me->window || frame.window == me->window))) { + frame.handle == me->window || frame.window == me->window || + frame.right_grip == me->window || + frame.left_grip == me->window))) { unsigned int zones = screen->getResizeZones(); Corner corner;