do not mouse-out of clients on focus out when focusing a popup

popups are transient in nature and do not interfere with mouse-based focus
policies

ref 3e6d6b348f
This commit is contained in:
Mike Blumenkrantz 2016-06-16 14:48:12 -04:00
parent 7871d58ce3
commit fbb30b1887
1 changed files with 1 additions and 1 deletions

View File

@ -3537,7 +3537,7 @@ e_client_focused_set(E_Client *ec)
ec_unfocus->want_focus = ec_unfocus->focused = 0;
if (!e_object_is_del(E_OBJECT(ec_unfocus)))
e_focus_event_focus_out(ec_unfocus);
if (ec_unfocus->mouse.in)
if (ec_unfocus->mouse.in && ec && (!e_client_util_is_popup(ec)))
e_client_mouse_out(ec_unfocus, ec_unfocus->x - 1, ec_unfocus->y - 1);
E_FREE_FUNC(ec_unfocus->raise_timer, ecore_timer_del);