forked from enlightenment/efl
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:
parent
610f514176
commit
e368896145
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue