diff options
| -rw-r--r-- | openbox/event.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |
