From 6f707894a8ce666170b99f49654ada0357fb99b1 Mon Sep 17 00:00:00 2001 From: Gwanglim Lee Date: Thu, 24 Apr 2014 12:42:02 -0400 Subject: [PATCH] fix e cursor invisible after destroying wayland surface Summary: E doen't have to remove pointer_image evas object when destroying wayland surface. The image contents of pointer_image will be replaced default mouse cursor in pointer_object at idler unless pointer_image is removed in e_pointer_image_set. Test Plan: run e with wayland only server -> run elementary test -> close elementary test Reviewers: raster, devilhorns, zmike CC: cedric Differential Revision: https://phab.enlightenment.org/D776 --- src/bin/e_pointer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c index 24e783f68..9b2991bb8 100644 --- a/src/bin/e_pointer.c +++ b/src/bin/e_pointer.c @@ -634,7 +634,6 @@ e_pointer_image_set(E_Pointer *p, E_Pixmap *cp, int w, int h, int hot_x, int hot } evas_object_image_size_set(p->pointer_image, 1, 1); evas_object_image_data_set(p->pointer_image, NULL); - E_FREE_FUNC(p->pointer_image, evas_object_del); p->blocks = 0; _e_pointer_canvas_resize(p, e_config->cursor_size, e_config->cursor_size); return;