From 9b98967032f8d07c309cd694dccf4427b162c4fa Mon Sep 17 00:00:00 2001 From: rathnor Date: Sun, 23 Feb 2003 21:41:49 +0000 Subject: fix sloppy focus to not lose focus on root window --- src/fluxbox.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index a4832a8..58d6def 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.100 2003/02/23 00:53:31 fluxgen Exp $ +// $Id: fluxbox.cc,v 1.101 2003/02/23 21:41:49 rathnor Exp $ #include "fluxbox.hh" @@ -731,10 +731,6 @@ void Fluxbox::handleEvent(XEvent * const e) { (screen = searchScreen(e->xcrossing.window))) { screen->getImageControl()->installRootColormap(); - // if sloppy focus, then remove focus from windows - if (screen->isSloppyFocus() || - screen->isSemiSloppyFocus()) - setFocusedWindow(0); } } -- cgit v0.11.2