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:
1923939
)
dont ignore all Virtual pointer events
author
Dana Jansens
<danakj@orodu.net>
Thu, 17 Apr 2003 08:04:45 +0000
(08:04 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 17 Apr 2003 08:04:45 +0000
(08:04 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
6cc8b1f
..
0427d14
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-308,7
+308,8
@@
static gboolean event_ignore(XEvent *e, Client *client)
/* NotifyVirtual occurs when ungrabbing the pointer */
if (e->xcrossing.mode == NotifyGrab ||
e->xcrossing.detail == NotifyInferior ||
- e->xcrossing.detail == NotifyVirtual)
+ (e->xcrossing.mode == NotifyUngrab &&
+ e->xcrossing.detail == NotifyVirtual))
return TRUE;
break;
}