]> Dogcows Code - chaz/openbox/commitdiff
dont compress motion events. it breaks things, moveresize is missing events
authorDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 23:44:33 +0000 (23:44 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 May 2007 23:44:33 +0000 (23:44 +0000)
openbox/event.c

index d7c723d120f1abbc1708f2ddbddf7b84305975b0..af239d23887f2f957d75d1772cb584e44a9ce69f 100644 (file)
@@ -265,15 +265,6 @@ static void event_hack_mods(XEvent *e)
         break;
     case MotionNotify:
         e->xmotion.state = modkeys_only_modifier_masks(e->xmotion.state);
-        /* compress events */
-        {
-            XEvent ce;
-            while (XCheckTypedWindowEvent(ob_display, e->xmotion.window,
-                                          e->type, &ce)) {
-                e->xmotion.x_root = ce.xmotion.x_root;
-                e->xmotion.y_root = ce.xmotion.y_root;
-            }
-        }
         break;
     }
 }
This page took 0.026016 seconds and 4 git commands to generate.