map/unmap x11 client windows when toggling iconic state
ICCCM 4.1.4
This commit is contained in:
parent
254494a7df
commit
89436035d6
|
@ -948,7 +948,7 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
|
|||
EINA_LIST_FOREACH(ec->e.state.video_child, l, tmp)
|
||||
evas_object_hide(tmp->frame);
|
||||
|
||||
if (ec->unredirected_single)
|
||||
if (ec->unredirected_single || ec->iconic)
|
||||
ecore_x_window_hide(_e_comp_x_client_window_get(ec));
|
||||
|
||||
if (e_comp_config_get()->send_flush)
|
||||
|
@ -970,7 +970,7 @@ _e_comp_x_evas_show_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
|
|||
ecore_x_window_shadow_tree_flush();
|
||||
if (!ec->comp_data->need_reparent)
|
||||
ecore_x_window_show(win);
|
||||
if (ec->unredirected_single)
|
||||
if (ec->unredirected_single || ec->iconic)
|
||||
ecore_x_window_show(_e_comp_x_client_window_get(ec));
|
||||
if (!ec->override)
|
||||
e_hints_window_visible_set(ec);
|
||||
|
|
Loading…
Reference in New Issue