forked from enlightenment/efl
elm win - add ifdef around wl code so it compiles with wl off
This commit is contained in:
parent
9f2270804b
commit
30d7410699
|
@ -2224,9 +2224,11 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd)
|
||||||
if (sd->pointer.ee)
|
if (sd->pointer.ee)
|
||||||
{
|
{
|
||||||
ecore_evas_hide(sd->pointer.ee);
|
ecore_evas_hide(sd->pointer.ee);
|
||||||
|
#ifdef HAVE_ELEMENTARY_WL2
|
||||||
sd->pointer.surf = NULL;
|
sd->pointer.surf = NULL;
|
||||||
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
|
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
|
||||||
sd->pointer.hot_x, sd->pointer.hot_y);
|
sd->pointer.hot_x, sd->pointer.hot_y);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue