summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-09-01 13:28:36 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-09-01 13:32:50 -0500
commite368896145dd47943467679a343a533b575a1aca (patch)
treeaa809daaa90b988a3f3b98c1f1669a2fc9ab1bfa
parent610f514176dba95c71876433eab50c10ab2a2401 (diff)
downloadefl-e368896145dd47943467679a343a533b575a1aca.tar.gz
elm_win: Stop hiding the mouse cusor on window out under wayland
We needed to do this to prevent burning cpu with animated cursors before we did frame callback based animating. Now the compositor will stop our frame callbacks when our cursor is implicitly visible when the pointer isn't over our window, so we don't have to use window hides for it.
-rw-r--r--src/lib/elementary/efl_ui_win.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index b06bdaafdc..c64ce3a1bf 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -997,11 +997,7 @@ _elm_win_mouse_out(Ecore_Evas *ee)
#ifdef HAVE_ELEMENTARY_WL2
if ((sd->wl.win) && (sd->pointer.ee))
- {
- sd->pointer.visible = EINA_FALSE;
- sd->pointer.surf = NULL;
- ecore_evas_hide(sd->pointer.ee);
- }
+ sd->pointer.visible = EINA_FALSE;
#endif
}