summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:55 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-07-21 16:17:53 -0400
commit10516fa3fd2ba7383bf8012a96decc8f7f4b033c (patch)
tree134ef5080402e476e731a9bd93e358cf0edf7d02
parentd67bdc92b74e4bebbed62a94b99381a57b0cd0c0 (diff)
downloadefl-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.c6
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
}