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:
3409148
)
make focus fallback when it is given to the frame (this happens if you unmap the...
author
Dana Jansens
<danakj@orodu.net>
Sat, 5 May 2007 18:28:40 +0000
(18:28 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 5 May 2007 18:28:40 +0000
(18:28 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index faa1a26419ed5e404f71e88840ea5d17b0412182..5d5f319f2bb7f2080e916fa4713999232179b55a 100644
(file)
--- 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;