move client iconic hint setting into x11 hide function

e_hints should probably be merged into the x11 compositor entirely
at some point
This commit is contained in:
Mike Blumenkrantz 2015-11-07 13:06:23 -05:00
parent 3a16a86ea3
commit c31824c2ef
2 changed files with 2 additions and 1 deletions

View File

@ -4028,7 +4028,6 @@ e_client_iconify(E_Client *ec)
_e_client_revert_focus(ec);
evas_object_hide(ec->frame);
}
e_hints_window_iconic_set(ec);
e_client_urgent_set(ec, ec->icccm.urgent);
_e_client_event_simple(ec, E_EVENT_CLIENT_ICONIFY);

View File

@ -947,6 +947,8 @@ _e_comp_x_client_hide(E_Client *ec)
if (ec->unredirected_single || ec->iconic)
ecore_x_window_hide(_e_comp_x_client_window_get(ec));
if (ec->iconic)
e_hints_window_iconic_set(ec);
}
static void