diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index bcdacda61..6307b3d00 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1820,7 +1820,7 @@ _e_comp_wl_compositor_cb_surface_create(struct wl_client *client, struct wl_reso if (ec->new_client) e_comp->new_clients--; ec->new_client = 0; - if ((!ec->client.w) && (ec->client.h)) + if ((!ec->client.w) && (!ec->client.h)) ec->client.w = ec->client.h = 1; ec->comp_data->surface = res; ec->netwm.pid = pid;