From: Dana Jansens Date: Mon, 28 May 2007 01:07:45 +0000 (+0000) Subject: when compressing motion events use both xy and rootxy X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=33406a1c7f7c6098e7356ba293f129c2b768c522;p=chaz%2Fopenbox when compressing motion events use both xy and rootxy --- diff --git a/openbox/event.c b/openbox/event.c index bb249086..105d6aba 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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; }