forked from enlightenment/enlightenment
Only unignore a client on the first commit with a buffer
Otherwise, if a wayland client does its first commit without a buffer attached it will confuse our focus logic.
This commit is contained in:
parent
033217c8e1
commit
27e9845abd
|
@ -1253,7 +1253,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ec->comp_data->in_commit = 1;
|
ec->comp_data->in_commit = 1;
|
||||||
if (ec->ignored && (ec->comp_data->shell.surface || ec->internal))
|
if (state->new_attach && ec->ignored && (ec->comp_data->shell.surface || ec->internal))
|
||||||
{
|
{
|
||||||
EC_CHANGED(ec);
|
EC_CHANGED(ec);
|
||||||
ec->new_client = 1;
|
ec->new_client = 1;
|
||||||
|
|
Loading…
Reference in New Issue