elementary: fix build without wayland.
authorCedric Bail <cedric@osg.samsung.com>
Tue, 25 Oct 2016 22:02:46 +0000 (15:02 -0700)
committerCedric Bail <cedric@osg.samsung.com>
Tue, 25 Oct 2016 22:02:46 +0000 (15:02 -0700)
src/lib/elementary/efl_ui_win.c

index a4dbaeb..5f1507d 100644 (file)
@@ -4811,6 +4811,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
           elm_win_focus_highlight_animate_set(obj, EINA_TRUE);
      }
 
+#ifdef HAVE_ELEMENTARY_WL2
    if (type != ELM_WIN_FAKE)
      {
         if ((engine) &&
@@ -4848,6 +4849,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
              ecore_evas_resize(sd->pointer.ee, mw, mh);
           }
      }
+#endif
 
    elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_WINDOW);
    if (_elm_config->atspi_mode)