correct little focus thing

This commit is contained in:
rathnor 2003-09-14 11:56:11 +00:00
parent f68c15cfa2
commit 7047c4b7ad

View file

@ -22,7 +22,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE. // DEALINGS IN THE SOFTWARE.
// $Id: fluxbox.cc,v 1.191 2003/09/14 11:23:48 rathnor Exp $ // $Id: fluxbox.cc,v 1.192 2003/09/14 11:56:11 rathnor Exp $
#include "fluxbox.hh" #include "fluxbox.hh"
@ -866,7 +866,7 @@ void Fluxbox::handleEvent(XEvent * const e) {
} break; } break;
case FocusOut:{ case FocusOut:{
// and here we ignore some window losing the special grab focus // and here we ignore some window losing the special grab focus
if (e->xfocus.mode == NotifyUngrab || if (e->xfocus.mode == NotifyGrab ||
e->xfocus.detail == NotifyPointer) e->xfocus.detail == NotifyPointer)
break; break;
WinClient *winclient = searchWindow(e->xfocus.window); WinClient *winclient = searchWindow(e->xfocus.window);