hook in ecore_evas_iconified_set into the x11 engine, use code in ecore_x to do it

SVN revision: 9689
This commit is contained in:
atmosphere 2004-04-11 17:37:39 +00:00 committed by atmosphere
parent 42f371c807
commit 1cf4794712
1 changed files with 11 additions and 1 deletions

View File

@ -869,6 +869,16 @@ _ecore_evas_focus_set(Ecore_Evas *ee, int on)
ecore_x_window_focus(ee->engine.x.win_container);
}
static void
_ecore_evas_iconified_set(Ecore_Evas *ee, int on)
{
if (((ee->prop.iconified) && (on)) ||
((!ee->prop.iconified) && (!on))) return;
ee->prop.iconified = on;
ecore_x_window_prop_state_request(ee->engine.x.win,
ECORE_X_WINDOW_STATE_ICONIFIED, on);
}
static void
_ecore_evas_borderless_set(Ecore_Evas *ee, int on)
{
@ -1094,7 +1104,7 @@ static const Ecore_Evas_Engine_Func _ecore_x_engine_func =
_ecore_evas_cursor_set,
_ecore_evas_layer_set,
_ecore_evas_focus_set,
NULL,
_ecore_evas_iconified_set,
_ecore_evas_borderless_set,
_ecore_evas_override_set,
NULL,