From fbbc5084305f668965d8ac7fd31a3750e4ef0087 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 25 Mar 2015 12:32:30 -0400 Subject: [PATCH] decrement e_comp->new_clients counter when unsetting new_client flag on wl cursor clients --- src/bin/e_comp_wl_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 32f6cb5..b58ae57 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -63,6 +63,7 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou ec = e_client_new(e_pixmap_new(E_PIXMAP_TYPE_WL, sid), 1, 0); ec->lock_focus_out = ec->layer_block = ec->visible = ec->override = 1; ec->new_client = 0; + e_comp->new_clients--; ec->icccm.title = eina_stringshare_add("noshadow"); evas_object_pass_events_set(ec->frame, 1); ec->client.w = ec->client.h = 1; -- 2.7.4