diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-22 23:48:44 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-22 23:48:44 +0000 |
| commit | b95fe18c5696c01b9d87e0031c5360aa905e94cd (patch) | |
| tree | 2c3032a3b492a08c423d5c5fda48117c2b2ef647 /openbox | |
| parent | e043faec9e073c8f5599a72b4f8b87160a3fbaa0 (diff) | |
revert r6775, it didnt help, and then more event storm
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index af239d23..d7c723d1 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -265,6 +265,15 @@ static void event_hack_mods(XEvent *e) break; case MotionNotify: e->xmotion.state = modkeys_only_modifier_masks(e->xmotion.state); + /* compress events */ + { + XEvent ce; + while (XCheckTypedWindowEvent(ob_display, e->xmotion.window, + e->type, &ce)) { + e->xmotion.x_root = ce.xmotion.x_root; + e->xmotion.y_root = ce.xmotion.y_root; + } + } break; } } |
