From: Mike Blumenkrantz Date: Thu, 2 Jul 2015 18:57:42 +0000 (-0400) Subject: unset x11 focus grabs on clients only if there is an xwindow present X-Git-Tag: upstream/0.20.0~637 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9060ce771f76d470bd925b20677756ad917a4d5;p=platform%2Fupstream%2Fenlightenment.git unset x11 focus grabs on clients only if there is an xwindow present fix T2539 --- diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 38dbb83..35f1bd7 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -4246,12 +4246,12 @@ static void _e_comp_x_hook_client_focus_set(void *d EINA_UNUSED, E_Client *ec) { focus_time = ecore_x_current_time_get(); - _e_comp_x_focus_setdown(ec); if (!e_client_has_xwindow(ec)) { e_grabinput_focus(e_comp->ee_win, E_FOCUS_METHOD_PASSIVE); return; } + _e_comp_x_focus_setdown(ec); if ((ec->icccm.take_focus) && (ec->icccm.accepts_focus)) {