only set E_Client->want_focus for wl override clients if not popup client

do not attempt to focus popups as they are already child windows and thus
do not require keyboard focus
This commit is contained in:
Mike Blumenkrantz 2017-06-30 10:25:23 -04:00
parent b183e001a1
commit 69c85fc1aa
1 changed files with 1 additions and 1 deletions

View File

@ -1349,7 +1349,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
if (first && (!ec->comp_data->cursor))
{
ec->take_focus = !starting || ec->internal_elm_win;
ec->want_focus = ec->override;
ec->want_focus = ec->override && !e_client_util_is_popup(ec);
}
}