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.
This commit is contained in:
Derek Foreman 2017-09-01 13:28:36 -05:00
parent 610f514176
commit e368896145
1 changed files with 1 additions and 5 deletions

View File

@ -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
}