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:
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 796c243d00e004a786c00e5e70e89110f734b1c5..042a76dc93d04037286b84bf9ce4941f35e63ca5 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;
}