projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f690980
)
when compressing motion events use both xy and rootxy
author
Dana Jansens
<danakj@orodu.net>
Mon, 28 May 2007 01:07:45 +0000
(
01:07
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 28 May 2007 01:07:45 +0000
(
01:07
+0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index bb2490868249473813470d1a81ee24de0c40cfae..105d6aba9932f6cd5fd8f5860cddfab85dd6de15 100644
(file)
--- 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;
}