Ecore_X_Window zone = 0;
Ecore_X_Window xwin;
#endif
+// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
#ifdef HAVE_ELEMENTARY_WAYLAND
Ecore_Wl_Window *wlwin;
#endif
+//
Evas_Object *top;
int sx = -1, sy = -1, sw = -1, sh = -1;
sx = sy = sw = sh = 0;
}
#endif
+// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
#ifdef HAVE_ELEMENTARY_WAYLAND
wlwin = elm_win_wl_window_get(top);
if (wlwin)
ecore_wl_window_indicator_geometry_get(wlwin, &sx, &sy, &sw, &sh);
#endif
+//
if (((sd->rot == 90) || (sd->rot == 270)) && sd->landscape_indicator)
_conformant_part_size_hints_set(obj, sd->landscape_indicator, sx, sy, sw, sh);
else if (((sd->rot == 0) || (sd->rot == 180)) && sd->portrait_indicator)
}
}
#endif
+// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
#ifdef HAVE_ELEMENTARY_WAYLAND
wlwin = elm_win_wl_window_get(top);
if (wlwin)
ecore_wl_window_keyboard_geometry_get(wlwin, &sx, &sy, &sw, &sh);
#endif
+//
DBG("[KEYPAD]: size(%d,%d, %dx%d).", sx, sy, sw, sh);
_conformant_part_size_hints_set
(obj, sd->virtualkeypad, sx, sy, sw, sh);
#endif
+// TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
static void
_on_conformant_changed(void *data,
Evas_Object *obj,
_conformant_part_sizing_eval(data, part_type);
}
+//
EOLIAN static void
_elm_conformant_evas_object_smart_add(Eo *obj, Elm_Conformant_Data *_pd EINA_UNUSED)
(sd->win, "indicator,prop,changed", _on_indicator_mode_changed, obj);
evas_object_smart_callback_del_full
(sd->win, "rotation,changed", _on_rotation_changed, obj);
+ // TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
+ evas_object_smart_callback_del_full
+ (sd->win, "conformant,changed", _on_conformant_changed, obj);
+ //
eo_do_super(obj, MY_CLASS, evas_obj_smart_del());
}
(sd->win, "indicator,prop,changed", _on_indicator_mode_changed, obj);
evas_object_smart_callback_add
(sd->win, "rotation,changed", _on_rotation_changed, obj);
+ // TIZEN_ONLY(20150707): implemented elm_win_conformant_set/get for wayland
evas_object_smart_callback_add
(sd->win, "conformant,changed", _on_conformant_changed, obj);
+ //
}
static void