From: Chris Michael Date: Fri, 28 Oct 2016 16:34:18 +0000 (-0400) Subject: elementary: Fix build break for non-wayland builds X-Git-Tag: upstream/1.20.0~3821 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53f406a0a3db2184f8c10b5c133186fe88f23ef8;p=platform%2Fupstream%2Fefl.git elementary: Fix build break for non-wayland builds This fixes an issue where build would be broken if not building with Wayland support. Fixes T4778 @fix Signed-off-by: Chris Michael --- diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index be922b8..627c82c 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -2220,6 +2220,7 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd) evas_object_hide(sd->pointer.obj); } +#ifdef HAVE_ELEMENTARY_WL2 if (sd->pointer.ee) { ecore_evas_hide(sd->pointer.ee); @@ -2227,6 +2228,7 @@ _efl_ui_win_hide(Eo *obj, Efl_Ui_Win_Data *sd) ecore_wl2_window_pointer_set(sd->wl.win, NULL, sd->pointer.hot_x, sd->pointer.hot_y); } +#endif if (_elm_config->atspi_mode) {