summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-12 15:49:06 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-12 15:49:06 -0500
commit60028fafb7f5babf5715ff6642d2306aaa030a90 (patch)
treed18bf7d55ff66cb3e804e4e81597bbd52978b126
parentb585dd0de72406d748d9c19ef00de13cd4a0638c (diff)
efl-wl: unset cursor role on existing cursor surface if new cursor is set
this avoids killing clients which replace cursors @fix
-rw-r--r--src/lib/efl_wl/efl_wl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 9dc37aa177..563b2ba285 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -3787,7 +3787,11 @@ seat_ptr_set_cursor(struct wl_client *client, struct wl_resource *resource, uint
3787 eina_tiler_clear(cs->pending.input); 3787 eina_tiler_clear(cs->pending.input);
3788 evas_object_pass_events_set(cs->obj, 1); 3788 evas_object_pass_events_set(cs->obj, 1);
3789 } 3789 }
3790 if (s->ptr.cursor.surface) s->ptr.cursor.surface->cursor = 0; 3790 if (s->ptr.cursor.surface)
3791 {
3792 s->ptr.cursor.surface->cursor = 0;
3793 s->ptr.cursor.surface->role = NULL;
3794 }
3791 3795
3792 if (s->ptr.in) 3796 if (s->ptr.in)
3793 { 3797 {