diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-17 01:48:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-17 01:48:26 +0000 |
| commit | 450c21d0cac6c95b44fb1f85ad74a9896dabd687 (patch) | |
| tree | b6a5358972117c8d147e26a4b2ae8d8d8e17c5b0 | |
| parent | 8d3829d160a470d76952949c87f81727fb8b45ae (diff) | |
ignore virtual crossing events..
| -rw-r--r-- | openbox/event.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index 796c243d..042a76dc 100644 --- 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; } |
