#endif
// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
+#ifdef HAVE_ELEMENTARY_WAYLAND
static void
_on_conformant_changed(void *data,
Evas_Object *obj,
_conformant_part_sizing_eval(data, ELM_CONFORMANT_VIRTUAL_KEYPAD_PART);
}
}
+#endif
//
EOLIAN static void
eo_event_callback_del(ELM_WIN_EVENT_ROTATION_CHANGED,
_on_rotation_changed, obj));
// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
+#ifdef HAVE_ELEMENTARY_WAYLAND
evas_object_smart_callback_del_full
(sd->win, "conformant,changed", _on_conformant_changed, obj);
+#endif
//
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
eo_event_callback_add(ELM_WIN_EVENT_ROTATION_CHANGED,
_on_rotation_changed, obj));
// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
+#ifdef HAVE_ELEMENTARY_WAYLAND
evas_object_smart_callback_add
(sd->win, "conformant,changed", _on_conformant_changed, obj);
+#endif
//
return obj;
static const char SIG_ROTATION_CHANGED[] = "rotation,changed";
static const char SIG_PROFILE_CHANGED[] = "profile,changed";
static const char SIG_WM_ROTATION_CHANGED[] = "wm,rotation,changed";
+#ifdef HAVE_ELEMENTARY_WAYLAND
static const char SIG_CONFORMANT_CHANGED[] = "conformant,changed";
+#endif
static const char SIG_AUX_HINT_ALLOWED[] = "aux,hint,allowed";
static const char SIG_VISIBILITY_CHANGED[] = "visibility,changed";
static const char SIG_EFFECT_STARTED[] = "effect,started";
{SIG_WM_ROTATION_CHANGED, ""},
{SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */
{SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */
+#ifdef HAVE_ELEMENTARY_WAYLAND
{SIG_CONFORMANT_CHANGED, ""},
+#endif
{SIG_AUX_HINT_ALLOWED, ""},
{SIG_VISIBILITY_CHANGED, ""},
{SIG_EFFECT_STARTED, ""},
Eina_Bool ch_maximized = EINA_FALSE;
Eina_Bool ch_profile = EINA_FALSE;
Eina_Bool ch_wm_rotation = EINA_FALSE;
+#ifdef HAVE_ELEMENTARY_WAYLAND
Eina_Bool ch_conformant = EINA_FALSE;
+#endif
Eina_Bool ch_visibility = EINA_FALSE;
Eina_Bool ch_aux_hint = EINA_FALSE;
Eina_List *aux_hints = NULL;
eo_do(obj, eo_event_callback_call
(ELM_WIN_EVENT_WM_ROTATION_CHANGED, NULL));
}
+#ifdef HAVE_ELEMENTARY_WAYLAND
if (ch_conformant)
{
evas_object_smart_callback_call(obj, SIG_CONFORMANT_CHANGED, (void *)property); //TIZEN_ONLY(20160330): add processing properties of window
}
+#endif
if (ch_aux_hint)
{
void *id;