elm win - add ifdef around wl code so it compiles with wl off

This commit is contained in:
Carsten Haitzler 2016-10-29 10:15:40 +09:00
parent 9f2270804b
commit 30d7410699
1 changed files with 2 additions and 0 deletions

View File

@ -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