add max size input rects for wl clients on creation

according to spec, surfaces begin with infinite input area
This commit is contained in:
Mike Blumenkrantz 2017-10-06 11:37:50 -04:00
parent 9983172f32
commit b686f3871d
1 changed files with 4 additions and 0 deletions

View File

@ -2521,6 +2521,10 @@ _e_comp_wl_client_cb_new(void *data EINA_UNUSED, E_Client *ec)
/* set initial client data properties */
ec->comp_data->mapped = EINA_FALSE;
ec->comp_data->pending.input = eina_tiler_new(65535, 65535);
eina_tiler_tile_size_set(ec->comp_data->pending.input, 1, 1);
eina_tiler_rect_add(ec->comp_data->pending.input,
&(Eina_Rectangle){0, 0, 65535, 65535});
/* add this client to the hash */
/* eina_hash_add(clients_win_hash, &win, ec); */