use 1x1 for unsized (internal) clients

this was a typo
This commit is contained in:
Mike Blumenkrantz 2017-02-03 15:13:48 -05:00
parent d566b54049
commit ee4a861f90
1 changed files with 1 additions and 1 deletions

View File

@ -1867,7 +1867,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;