#include <Elementary.h>
#include <malloc.h>
#ifdef WAYLAND
-#include <Ecore_Wayland.h>
+#define EFL_BETA_API_SUPPORT
+#include <Ecore_Wl2.h>
#else
#include <Ecore_X.h>
#include <X11/Xlib.h>
#endif
#ifdef WAYLAND
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ Ecore_Wl2_Window *wl_window = (Ecore_Wl2_Window *)(elm_win_wl_window_get(win));
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_0], 0, 0, new_width, new_height);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_90_CW], 0, 0, new_width, new_height);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_180], 0, 0, new_width, new_height);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_90_CCW], 0, 0, new_width, new_height);
#else
/*
#endif
#ifdef WAYLAND
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ Ecore_Wl2_Window *wl_window = (Ecore_Wl2_Window *)(elm_win_wl_window_get(win));
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_0], 0, 0, width, height);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_90_CW], 0, 0, height, width);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_180], 0, 0, width, height);
- ecore_wl_window_rotation_geometry_set(elm_win_wl_window_get(win),
+ ecore_wl2_window_rotation_geometry_set(wl_window,
rotation_values_EFL[ROTATION_90_CCW], 0, 0, height, width);
#else
/*