BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
-BuildRequires: pkgconfig(ecore-wayland)
+BuildRequires: pkgconfig(ecore-wl2)
BuildRequires: pkgconfig(capi-ui-efl-util)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(elementary)
cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} .
%build
-
+export CFLAGS+=" -DEFL_BETA_API_SUPPORT "
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \
-DTZ_SYS_RO_SHARE=%{TZ_SYS_RO_SHARE} \
* limitations under the License.
*/
-#include <Ecore_Wayland.h>
+#include <Ecore_Wl2.h>
#include <efl_util.h>
#include <Ecore.h>
case SYSPOPUP_HIDE:
if (sp->def_term_fn)
sp->def_term_fn(sp->dupped_bundle, sp->user_data);
- ecore_wl_window_hide((Ecore_Wl_Window *)sp->internal_data);
+ ecore_wl2_window_hide((Ecore_Wl2_Window *)sp->internal_data);
break;
default:
_D("term action IGNORED: %s", sp->name);
{
int rots[] = {0, 90, 180, 270};
- ecore_wl_window_class_name_set(sp->internal_data, WIN_PROP_NAME);
+ ecore_wl2_window_class_set(sp->internal_data, WIN_PROP_NAME);
if (elm_win_wm_rotation_supported_get(sp->win))
elm_win_wm_rotation_available_rotations_set(sp->win, rots, 4);
else
int wl_syspopup_init(syspopup *sp, syspopup_info_t *info)
{
- Ecore_Wl_Window *wl_win;
+ Ecore_Wl2_Window *wl_win;
efl_util_notification_level_e level;
if (_syspopup_init(__wl_syspopup_term_handler,
__wl_syspopup_timeout_handler) < 0)
return -1;
- wl_win = (Ecore_Wl_Window *)sp->internal_data;
- ecore_wl_window_type_set(wl_win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
+ wl_win = (Ecore_Wl2_Window *)sp->internal_data;
+ ecore_wl2_window_type_set(wl_win, ECORE_WL2_WINDOW_TYPE_NOTIFICATION);
level = __wl_syspopup_get_notification_level(info->prio);
efl_util_set_notification_window_level(sp->win, level);
if (info->focus)
- ecore_wl_window_focus_skip_set(wl_win, EINA_TRUE);
+ ecore_wl2_window_focus_skip_set(wl_win, EINA_TRUE);
__wl_rotation_set(sp);
const char *popup_name;
syspopup_info_t *info;
syspopup *sp;
- Ecore_Wl_Window *wl_win;
+ Ecore_Wl2_Window *wl_win;
efl_util_notification_level_e level;
int ret;
sp->dupped_bundle = bundle_dup(b);
- wl_win = (Ecore_Wl_Window *)sp->internal_data;
- ecore_wl_window_type_set(wl_win, ECORE_WL_WINDOW_TYPE_NOTIFICATION);
+ wl_win = (Ecore_Wl2_Window *)sp->internal_data;
+ ecore_wl2_window_type_set(wl_win, ECORE_WL2_WINDOW_TYPE_NOTIFICATION);
level = __wl_syspopup_get_notification_level(info->prio);
ret = efl_util_set_notification_window_level(sp->win, level);
}
if (info->focus)
- ecore_wl_window_focus_skip_set(wl_win, EINA_TRUE);
+ ecore_wl2_window_focus_skip_set(wl_win, EINA_TRUE);
__wl_rotation_set(sp);
if (sp->def_term_fn)
sp->def_term_fn(sp->dupped_bundle, sp->user_data);
- ecore_wl_window_hide((Ecore_Wl_Window *)sp->internal_data);
+ ecore_wl2_window_hide((Ecore_Wl2_Window *)sp->internal_data);
} else {
_E("no find key down");
}