]> Dogcows Code - chaz/openbox/commitdiff
use the alst button press for clicks instead of teh fisrt. it make sno diff to me...
authorDana Jansens <danakj@orodu.net>
Wed, 25 Jun 2003 18:40:04 +0000 (18:40 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 25 Jun 2003 18:40:04 +0000 (18:40 +0000)
plugins/mouse/mouse.c

index 5bd76caa0ff7688653665f1b9958adb6eff91970..26b23cd8797a534187271c73f81955b27f7747f9 100644 (file)
@@ -274,12 +274,10 @@ static void event(ObEvent *e, void *foo)
         context = frame_context(e->data.x.client,
                                 e->data.x.e->xbutton.window);
 
-        if (!button) {
-            px = e->data.x.e->xbutton.x_root;
-            py = e->data.x.e->xbutton.y_root;
-            button = e->data.x.e->xbutton.button;
-            state = e->data.x.e->xbutton.state;
-        }
+        px = e->data.x.e->xbutton.x_root;
+        py = e->data.x.e->xbutton.y_root;
+        button = e->data.x.e->xbutton.button;
+        state = e->data.x.e->xbutton.state;
 
         fire_button(MouseAction_Press, context,
                     e->data.x.client, e->data.x.e->xbutton.state,
This page took 0.023231 seconds and 4 git commands to generate.