summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-05-04 12:37:56 -0400
committerChris Michael <cp.michael@samsung.com>2015-05-04 12:38:56 -0400
commit5754e8ccc574daf1688e7158fd8d3087d99b738a (patch)
tree02d6f4b6155121c75d392ba3290398c784d9a3d0 /src/modules
parent4cfff13f735a39e86f06c63ed0b160602da2450b (diff)
ecore-evas-wayland: Fix issue of setting NULL cursor object
Summary: If we are calling ecore_evas_object_cursor_set with a NULL object, then we need to inform the ecore_wayland window that we no longer have a cursor surface. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index 926269d..4c26ece 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1222,6 +1222,7 @@ _ecore_evas_wl_common_object_cursor_set(Ecore_Evas *ee, Evas_Object *obj, int la
1222 old = ee->prop.cursor.object; 1222 old = ee->prop.cursor.object;
1223 if (obj == NULL) 1223 if (obj == NULL)
1224 { 1224 {
1225 ecore_wl_window_pointer_set(wdata->win, NULL, 0, 0);
1225 ee->prop.cursor.object = NULL; 1226 ee->prop.cursor.object = NULL;
1226 ee->prop.cursor.layer = 0; 1227 ee->prop.cursor.layer = 0;
1227 ee->prop.cursor.hot.x = 0; 1228 ee->prop.cursor.hot.x = 0;