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:
8d3829d
)
ignore virtual crossing events..
author
Dana Jansens
<danakj@orodu.net>
Thu, 17 Apr 2003 01:48:26 +0000
(
01:48
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 17 Apr 2003 01:48:26 +0000
(
01:48
+0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
796c243
..
042a76d
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-304,8
+304,10
@@
static gboolean event_ignore(XEvent *e, Client *client)
case LeaveNotify:
/* NotifyUngrab occurs when a mouse button is released and the event is
caused, like when lowering a window */
+ /* NotifyVirtual occurs when ungrabbing the pointer */
if (e->xcrossing.mode == NotifyGrab ||
- e->xcrossing.detail == NotifyInferior)
+ e->xcrossing.detail == NotifyInferior ||
+ e->xcrossing.detail == NotifyVirtual)
return TRUE;
break;
}