From 33406a1c7f7c6098e7356ba293f129c2b768c522 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 28 May 2007 01:07:45 +0000 Subject: [PATCH] when compressing motion events use both xy and rootxy --- openbox/event.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.45.2