]> Dogcows Code - chaz/openbox/commitdiff
dispatch presses and releases during a move/resize
authorDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 22:27:24 +0000 (22:27 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 18 Apr 2003 22:27:24 +0000 (22:27 +0000)
openbox/event.c

index a5bb295a31a2fb5a7bccc266289e2a951ee66ff3..ed214af76137f49271275b0192ea4451390624c5 100644 (file)
@@ -407,7 +407,9 @@ static void event_process(XEvent *e)
             e->type == ButtonPress ||
             e->type == KeyPress || e->type == KeyRelease) {
             moveresize_event(e);
-            return; /* no dispatch! */
+
+            if (!(e->type == ButtonPress || e->type == ButtonRelease))
+                return; /* no dispatch! */
         }
 
     /* user input (action-bound) events */
This page took 0.022853 seconds and 4 git commands to generate.