]> Dogcows Code - chaz/openbox/commitdiff
when compressing motion events use both xy and rootxy
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 01:07:45 +0000 (01:07 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 01:07:45 +0000 (01:07 +0000)
openbox/event.c

index bb2490868249473813470d1a81ee24de0c40cfae..105d6aba9932f6cd5fd8f5860cddfab85dd6de15 100644 (file)
@@ -270,6 +270,8 @@ static void event_hack_mods(XEvent *e)
             XEvent ce;
             while (XCheckTypedWindowEvent(ob_display, e->xmotion.window,
                                           e->type, &ce)) {
+                e->xmotion.x = ce.xmotion.x;
+                e->xmotion.y = ce.xmotion.y;
                 e->xmotion.x_root = ce.xmotion.x_root;
                 e->xmotion.y_root = ce.xmotion.y_root;
             }
This page took 0.024923 seconds and 4 git commands to generate.