From b686f3871dc207e0f901f88f30450a79bf0a5b4b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 6 Oct 2017 11:37:50 -0400 Subject: [PATCH] add max size input rects for wl clients on creation according to spec, surfaces begin with infinite input area --- src/bin/e_comp_wl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 1522479a7..959044667 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -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); */