forked from enlightenment/enlightenment
|= 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:
parent
77485f322e
commit
d4bbe0727e
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue