]> Dogcows Code - chaz/openbox/commitdiff
make alt-right click resizing work on the window handles
authorDana Jansens <danakj@orodu.net>
Wed, 11 Sep 2002 02:14:55 +0000 (02:14 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 11 Sep 2002 02:14:55 +0000 (02:14 +0000)
src/Window.cc

index dcbb5f08afc55654e5c2f1806fd7d6cbaf33670a..f21000c16c1e64c360c11bdc05a9aeeb22e74a60 100644 (file)
@@ -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;
       
This page took 0.023944 seconds and 4 git commands to generate.