use E_Client->changes.size for validating wl client geom during configure

xdg6 allows for clients without buffers to be configured such that the
first buffer will match the configured state

if a client is sized before this point, the changes.size flag will be set
This commit is contained in:
Mike Blumenkrantz 2017-02-10 17:23:44 -05:00
parent 2f6f31f2a7
commit 7c118eb272
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ _e_comp_wl_configure_send(E_Client *ec, Eina_Bool edges)
int w = 0, h = 0;
if (e_object_is_del(E_OBJECT(ec))) return;
if (e_pixmap_usable_get(ec->pixmap))
if (ec->changes.size || e_pixmap_usable_get(ec->pixmap))
{
if (e_comp_object_frame_exists(ec->frame))
w = ec->client.w, h = ec->client.h;