|= instead of = flag setting for want_focus during wayland surface commit

if want_focus has already been set, this check should not unset it
This commit is contained in:
Mike Blumenkrantz 2016-01-19 13:52:07 -05:00
parent 77485f322e
commit d4bbe0727e
1 changed files with 1 additions and 1 deletions

View File

@ -1143,7 +1143,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
if (ec->new_client)
{
ec->placed = placed;
ec->want_focus = ec->icccm.accepts_focus && (!ec->override);
ec->want_focus |= ec->icccm.accepts_focus && (!ec->override);
}
else if ((first) && (ec->placed) && (!ec->internal) && (!ec->override))
{