EAPI int elm_win_rotation_get(Evas_Object *obj);
EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky);
EAPI Eina_Bool elm_win_sticky_get(Evas_Object *obj);
+ EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant);
+ EAPI Eina_Bool elm_win_conformant_get(Evas_Object *obj);
/*...
* ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
_elm_win_xwindow_get(win);
#ifdef HAVE_ELEMENTARY_X
if (win->xwin)
- ecore_x_e_virtual_keyboard_set
- (win->xwin, is_keyboard);
+ ecore_x_e_virtual_keyboard_set(win->xwin, is_keyboard);
#endif
}
if (y) *y = win->screen.y;
}
+EAPI void
+elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant)
+{
+ Elm_Win *win;
+ if (strcmp(elm_widget_type_get(obj), "win")) return;
+ win = elm_widget_data_get(obj);
+ if (!win) return;
+ _elm_win_xwindow_get(win);
+#ifdef HAVE_ELEMENTARY_X
+ if (win->xwin)
+ ecore_x_e_illume_conformant_set(win->xwin, conformant);
+#endif
+}
+
+EAPI Eina_Bool
+elm_win_conformant_get(Evas_Object *obj)
+{
+ Elm_Win *win;
+ if (strcmp(elm_widget_type_get(obj), "win")) return EINA_FALSE;
+ win = elm_widget_data_get(obj);
+ if (!win) return EINA_FALSE;
+ _elm_win_xwindow_get(win);
+#ifdef HAVE_ELEMENTARY_X
+ if (win->xwin)
+ return ecore_x_e_illume_conformant_get(win->xwin);
+#endif
+ return EINA_FALSE;
+}
+
typedef struct _Widget_Data Widget_Data;
struct _Widget_Data