diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 21:29:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 21:29:02 +0000 |
| commit | 4543c1761a98f3feecf1630f5be78974753ee5f5 (patch) | |
| tree | 2d85b0047d219898a71f6656fa2b99da9736c4ff | |
| parent | 56d42ce66aed364d78f448371f9396558e568581 (diff) | |
when windows reverttoparent, we will get a notifynonlinear when the frame closes
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.c b/openbox/event.c index b020321a..5bb0e2a0 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -372,6 +372,9 @@ static gboolean wanted_focusevent(XEvent *e) /* This means focus moved from one client to another */ if (detail == NotifyNonlinearVirtual) return TRUE; + /* This means focus had moved to our frame window and now moved off */ + if (detail == NotifyNonlinear) + return TRUE; /* Otherwise.. */ return FALSE; |
