From 76b8de47a2fa7bc4ededc1930703bcc169e1f603 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sun, 25 Mar 2007 08:53:36 +0000 Subject: [PATCH] Enable focusing windows not containing the pointer in pointer focus modes when using the focus list (noted by Peter Poulsen). SVN revision: 29092 --- src/focus.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/focus.c b/src/focus.c index cdcd983b..31b4e26a 100644 --- a/src/focus.c +++ b/src/focus.c @@ -573,6 +573,10 @@ FocusHandleEnter(EWin * ewin, XEvent * ev) } } + if (ev->xcrossing.mode == NotifyUngrab && + ev->xcrossing.detail == NotifyNonlinearVirtual) + return; + switch (Conf.focus.mode) { default: