diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-05 18:28:40 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-05 18:28:40 +0000 |
| commit | 97ffe20f7e3f1031df0853ed9488104a66e2852e (patch) | |
| tree | f0ff24d545630e560e5b231388f5407041992394 | |
| parent | 3409148047e2d179fbe9fc5ef194253cc0f0ad85 (diff) | |
make focus fallback when it is given to the frame (this happens if you unmap the client but not the frame for eg in iconify animation)
| -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 faa1a264..5d5f319f 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -309,6 +309,9 @@ static gboolean wanted_focusevent(XEvent *e) /* This means focus moved from one client to another */ if (detail == NotifyNonlinearVirtual) return TRUE; + /* This means focus moved to the frame window */ + if (detail == NotifyInferior) + return TRUE; /* Otherwise.. */ return FALSE; |
