From 7ba11ee2c10487e1aa71557608156ab8ef564d09 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 3 Aug 2012 14:21:48 +0000 Subject: [PATCH] fix longstanding focus bug where root window would incorrectly receive focus WE DON'T EVEN DO THAT SVN revision: 74851 --- src/bin/e_border.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index 9d09b55ab..1e722cc13 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -2166,7 +2166,7 @@ e_border_focus_set(E_Border *bd, if ((set) && (!focus_next) && (!focusing)) { - e_grabinput_focus(bd->zone->container->manager->root, + e_grabinput_focus(bd->zone->container->bg_win, E_FOCUS_METHOD_PASSIVE); } } @@ -4532,7 +4532,7 @@ _e_border_free(E_Border *bd) { if ((!focus_next) && (!focusing)) { - e_grabinput_focus(bd->zone->container->manager->root, + e_grabinput_focus(bd->zone->container->bg_win, E_FOCUS_METHOD_PASSIVE); e_hints_active_window_set(bd->zone->container->manager, NULL); }