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)
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.
Diffstat (limited to '')
-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)
997 997
998#ifdef HAVE_ELEMENTARY_WL2 998#ifdef HAVE_ELEMENTARY_WL2
999 if ((sd->wl.win) && (sd->pointer.ee)) 999 if ((sd->wl.win) && (sd->pointer.ee))
1000 { 1000 sd->pointer.visible = EINA_FALSE;
1001 sd->pointer.visible = EINA_FALSE;
1002 sd->pointer.surf = NULL;
1003 ecore_evas_hide(sd->pointer.ee);
1004 }
1005#endif 1001#endif
1006} 1002}
1007 1003