never set withdrawn state on x11 clients

icccm 4.1.4:
Only the client can effect a transition into or out of the Withdrawn state.

fix T2901
This commit is contained in:
Mike Blumenkrantz 2015-12-11 15:06:52 -05:00
parent 2a60033182
commit 41daddeacc
1 changed files with 0 additions and 3 deletions

View File

@ -1283,9 +1283,6 @@ e_hints_window_hidden_set(E_Client *ec)
(void)ec;
#else
if (!e_client_has_xwindow(ec)) return;
if (ec->icccm.state != ECORE_X_WINDOW_STATE_HINT_WITHDRAWN)
ec->icccm.state = ECORE_X_WINDOW_STATE_HINT_WITHDRAWN;
ecore_x_icccm_state_set(e_client_util_win_get(ec), ECORE_X_WINDOW_STATE_HINT_WITHDRAWN);
if (ec->netwm.state.hidden)
{
ec->netwm.update.state = 1;