summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-10-29 10:15:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-10-29 10:16:29 +0900
commit30d7410699875cce2e255e3ebf862b3e7dbd641a (patch)
tree030c584ffbb2c67d98577769fb2adbc09cd5aff9
parent9f2270804bd648ab9fcf0bc67f7e607435bfb325 (diff)
downloadefl-30d7410699875cce2e255e3ebf862b3e7dbd641a.tar.gz
elm win - add ifdef around wl code so it compiles with wl off
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 2638314e62..5474d2a48d 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2224,9 +2224,11 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd)
if (sd->pointer.ee)
{
ecore_evas_hide(sd->pointer.ee);
+#ifdef HAVE_ELEMENTARY_WL2
sd->pointer.surf = NULL;
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
sd->pointer.hot_x, sd->pointer.hot_y);
+#endif
}
#endif