X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fevent.c;h=a4105c799340d533d225a3eea5f6259d6cf88617;hb=141c249b8cd3b94a722acc8c0225b3cbf83e5042;hp=b020321a1460a3525168c81d6b4ef52197fdc4d3;hpb=56d42ce66aed364d78f448371f9396558e568581;p=chaz%2Fopenbox diff --git a/openbox/event.c b/openbox/event.c index b020321a..a4105c79 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -2,7 +2,7 @@ event.c for the Openbox window manager Copyright (c) 2006 Mikael Magnusson - Copyright (c) 2003 Ben Jansens + Copyright (c) 2003-2007 Dana Jansens This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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;