diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-21 16:17:55 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-07-21 16:17:53 -0400 |
commit | 10516fa3fd2ba7383bf8012a96decc8f7f4b033c (patch) | |
tree | 134ef5080402e476e731a9bd93e358cf0edf7d02 | |
parent | d67bdc92b74e4bebbed62a94b99381a57b0cd0c0 (diff) | |
download | efl-10516fa3fd2ba7383bf8012a96decc8f7f4b033c.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index de8646ac5e..d9b48985f3 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -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 } |