ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
-PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 utilX bundle dlog x11 capi-appfw-application appsvc)
+PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 utilX bundle dlog x11 ecore-wayland capi-appfw-application appsvc)
FOREACH(flag ${PKGS_CFLAGS})
SET(CFLAGS "${CFLAGS} ${flag}")
ENDFOREACH(flag)
*/
#include <X11/Xlib.h>
+#include <Ecore_Wayland.h>
#include <app.h>
#ifdef __cplusplus
* @see ug_init()
*/
#define UG_INIT_EFL(win, opt) \
- ug_init((Display *)ecore_wl_display_get(), elm_win_wl_window_get(win), \
+ ug_init((Display *)ecore_wl_display_get(), (elm_win_wl_window_get(win))->id, \
win, opt)
/**
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(appsvc)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-system-runtime-info)