projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50a0bf0
)
don't hover buttons while the pointer is grabbed
author
Dana Jansens
<danakj@orodu.net>
Thu, 31 May 2007 23:15:26 +0000
(23:15 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 31 May 2007 23:15:26 +0000
(23:15 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
3791068
..
3d58775
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-823,6
+823,10
@@
static void event_handle_client(ObClient *client, XEvent *e)
}
break;
case MotionNotify:
+ /* when there is a grab on the pointer, we won't get enter/leave
+ notifies, but we still get motion events */
+ if (grab_on_pointer()) break;
+
con = frame_context(client, e->xmotion.window,
e->xmotion.x, e->xmotion.y);
switch (con) {