don't hints on override clients

T772
This commit is contained in:
Mike Blumenkrantz 2014-01-15 11:00:45 -05:00
parent e8e2002804
commit a084217ba9
2 changed files with 8 additions and 8 deletions

View File

@ -1267,7 +1267,8 @@ _e_client_cb_evas_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
if (action_client == ec) _e_client_action_finish();
e_pointer_type_pop(ec->comp->pointer, ec, NULL);
if (!ec->iconic) e_hints_window_hidden_set(ec);
if ((!ec->iconic) && (!ec->override))
e_hints_window_hidden_set(ec);
if (!ec->hidden)
{
@ -1660,7 +1661,8 @@ _e_client_eval(E_Client *ec)
}
/* Recreate state */
e_hints_window_init(ec);
if (!ec->override)
e_hints_window_init(ec);
if ((ec->e.state.centered) &&
((!ec->remember) ||
((ec->remember) && (!(ec->remember->apply & E_REMEMBER_APPLY_POS)))))

View File

@ -847,11 +847,8 @@ _e_comp_x_evas_hide_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
if (!ec->comp_data) return; // already deleted, happens with internal wins
ecore_x_window_shadow_tree_flush();
if (!ec->iconic)
{
ecore_x_window_prop_card32_set(e_client_util_win_get(ec), E_ATOM_MAPPED, &visible, 1);
e_hints_window_hidden_set(ec);
}
if ((!ec->iconic) && (!ec->override))
ecore_x_window_prop_card32_set(e_client_util_win_get(ec), E_ATOM_MAPPED, &visible, 1);
EINA_LIST_FOREACH(ec->e.state.video_child, l, tmp)
evas_object_hide(tmp->frame);
@ -880,7 +877,8 @@ _e_comp_x_evas_show_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UN
ecore_x_window_show(win);
if (ec->unredirected_single)
ecore_x_window_show(_e_comp_x_client_window_get(ec));
e_hints_window_visible_set(ec);
if (!ec->override)
e_hints_window_visible_set(ec);
ecore_x_window_prop_card32_set(win, E_ATOM_MAPPED, &visible, 1);
ecore_x_window_prop_card32_set(win, E_ATOM_MANAGED, &visible, 1);