vconf-internal-keys
widget_service
capi-system-info
- ecore-wayland
+ ecore-wl2
capi-system-info
screen_connector_provider
appcore-multiwindow
int widget_base_exit(void);
int widget_base_context_window_bind(
widget_base_instance_h instance_h, const char *id,
- Ecore_Wl_Window *wl_win);
+ Ecore_Wl2_Window *wl_win);
int widget_base_class_on_create(widget_base_instance_h instance_h,
bundle *content, int w, int h);
int widget_base_class_on_pause(widget_base_instance_h instance_h);
BuildRequires: pkgconfig(capi-appfw-app-common)
BuildRequires: pkgconfig(widget_service)
BuildRequires: pkgconfig(capi-system-info)
-BuildRequires: pkgconfig(ecore-wayland)
+BuildRequires: pkgconfig(ecore-wl2)
BuildRequires: pkgconfig(appcore-multiwindow)
BuildRequires: pkgconfig(screen_connector_provider)
BuildRequires: cmake
%setup -q
%build
+export CFLAGS+=" -DEFL_BETA_API_SUPPORT "
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%__make %{?jobs:-j%jobs}
#include <widget_errno.h>
#include <widget_instance.h>
#include <aul_app_com.h>
-#include <Ecore_Wayland.h>
+#include <Ecore_Wl2.h>
#include <system_info.h>
#include <vconf.h>
#include <vconf-internal-keys.h>
EXPORT_API int widget_base_context_window_bind(
widget_base_instance_h instance_h, const char *id,
- Ecore_Wl_Window *wl_win)
+ Ecore_Wl2_Window *wl_win)
{
struct wl_surface *surface;
- surface = ecore_wl_window_surface_get(wl_win);
+ surface = ecore_wl2_window_surface_get(wl_win);
if (surface == NULL) {
LOGE("failed to get surface"); /* LCOV_EXCL_LINE */
return WIDGET_BASE_ERROR_FAULT; /* LCOV_EXCL_LINE */
Evas_Object **win)
{
Evas_Object *ret_win = NULL;
- Ecore_Wl_Window *wl_win;
+ Ecore_Wl2_Window *wl_win;
struct instance_data *data;
char buffer[256];
int rots[3] = {0};
elm_win_wm_rotation_preferred_rotation_set(ret_win, -1);
elm_win_wm_rotation_available_rotations_set(ret_win, rots, 1);
- wl_win = elm_win_wl_window_get(ret_win);
+ wl_win = ecore_evas_wayland2_window_get(ecore_evas_ecore_evas_get(evas_object_evas_get(ret_win)));
if (wl_win == NULL) {
_E("failed to get wayland window"); /* LCOV_EXCL_LINE */
goto fault;
}
- ecore_wl_window_class_name_set(wl_win, id);
+ ecore_wl2_window_class_set(wl_win, id);
elm_win_aux_hint_add(ret_win, "wm.policy.win.user.geometry", "1");
widget_base_context_window_bind((widget_base_instance_h)context, id, wl_win);
evas_object_data_set(ret_win, "___PLUGID", strdup(buffer));
evas_object_event_callback_add(ret_win, EVAS_CALLBACK_DEL, __win_del_cb, NULL);
- win_id = ecore_wl_window_id_get(wl_win);
+ win_id = ecore_wl2_window_id_get(wl_win);
_D("window created: %d", win_id);
data = (struct instance_data *)widget_base_context_get_user_data(