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:
56d42ce
)
when windows reverttoparent, we will get a notifynonlinear when the frame closes
author
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 21:29:02 +0000
(21:29 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 22 Apr 2007 21:29:02 +0000
(21:29 +0000)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index b020321a1460a3525168c81d6b4ef52197fdc4d3..5bb0e2a09f4971d207bbde7e57a130e3a2da17b1 100644
(file)
--- 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;