elm_win: hide pointer surface on mouse out

this should be unmapped so edje stops trying to render to it, though
at some point it could be optimized to not hide and just reuse the buffer
when showing again

 #IGot99TicketsBut1x1AintOne
This commit is contained in:
Mike Blumenkrantz 2017-07-21 16:17:55 -04:00
parent d67bdc92b7
commit 10516fa3fd
1 changed files with 5 additions and 1 deletions

View File

@ -977,7 +977,11 @@ _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.visible = EINA_FALSE;
sd->pointer.surf = NULL;
ecore_evas_hide(sd->pointer.ee);
}
#endif
}