diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-24 01:00:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-24 01:00:27 +0000 |
| commit | a488360f48abbfd6e67576a1844d792b28e6065c (patch) | |
| tree | c41175ee9df394e27c3b7791851c484a70277df7 /openbox/mouse.c | |
| parent | 3993847dd4142efc1c111c9d603465d9261c1999 (diff) | |
add the PointerMotionHintMask everywhere, we dont need every mouse event
Diffstat (limited to 'openbox/mouse.c')
| -rw-r--r-- | openbox/mouse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/mouse.c b/openbox/mouse.c index 27172d52..55f1bf53 100644 --- a/openbox/mouse.c +++ b/openbox/mouse.c @@ -106,7 +106,8 @@ void mouse_grab_for_client(ObClient *client, gboolean grab) if (FRAME_CONTEXT(i, client)) { win = client->frame->window; mode = GrabModeAsync; - mask = ButtonPressMask | ButtonMotionMask | ButtonReleaseMask; + mask = ButtonPressMask | ButtonMotionMask | ButtonReleaseMask | + PointerMotionHintMask; } else if (CLIENT_CONTEXT(i, client)) { win = client->frame->plate; mode = GrabModeSync; /* this is handled in event */ |
