only do configure for wl clients in commit when a buffer is attached

a null attach does not require a resize, only a hide
This commit is contained in:
Mike Blumenkrantz 2017-07-24 08:30:25 -04:00
parent b472a11f84
commit 9dcc4f632f
1 changed files with 1 additions and 1 deletions

View File

@ -1485,7 +1485,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state)
}
}
if (state->new_attach)
if (state->new_attach && state->buffer)
{
if ((ec->comp_data->shell.surface) && (ec->comp_data->shell.configure))
ec->comp_data->shell.configure(ec->comp_data->shell.surface,