summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-28 01:07:45 +0000
committerDana Jansens <danakj@orodu.net>2007-05-28 01:07:45 +0000
commit33406a1c7f7c6098e7356ba293f129c2b768c522 (patch)
tree9dcb22f796924845733f845da44415669e8ae570 /openbox
parentf690980dd13c9b4c45f40dfd2cbd0e13daad9306 (diff)
when compressing motion events use both xy and rootxy
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c2
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;
}