summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/event.c3
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;