forked from enlightenment/enlightenment
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
This commit is contained in:
parent
ecb8d21ab6
commit
6f707894a8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue