elm win - add ifdef around wl code so it compiles with wl off
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 29 Oct 2016 01:15:40 +0000 (10:15 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 29 Oct 2016 01:16:29 +0000 (10:16 +0900)
src/lib/elementary/efl_ui_win.c

index 2638314..5474d2a 100644 (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