decrement e_comp->new_clients counter when unsetting new_client flag on wl cursor...
authorMike Blumenkrantz <zmike@osg.samsung.com>
Wed, 25 Mar 2015 16:32:30 +0000 (12:32 -0400)
committerBoram Park <boram1288.park@samsung.com>
Fri, 3 Apr 2015 01:48:00 +0000 (10:48 +0900)
Change-Id: If35c45cea17b947bbc3d6b320ee08fee24cd91af

src/bin/e_comp_wl_input.c

index 8e01ef32fa670c838e6724fc194f0c51a2cd2388..74fc2dc99e4294df573b33eb760e2e60cc5b7c97 100644 (file)
@@ -64,6 +64,7 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client *client, struct wl_resou
         ec = e_client_new(NULL, 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");
         ec->icccm.window_role = eina_stringshare_add("wl_pointer-cursor");
         evas_object_pass_events_set(ec->frame, 1);