From 15ca6904fc8ca0c4ebcfbe1e4f261026fd4e409b Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 11 Sep 2002 02:14:55 +0000 Subject: [PATCH] make alt-right click resizing work on the window handles --- src/Window.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; -- 2.45.2