forked from enlightenment/enlightenment
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:
parent
2a60033182
commit
41daddeacc
|
@ -1283,9 +1283,6 @@ e_hints_window_hidden_set(E_Client *ec)
|
||||||
(void)ec;
|
(void)ec;
|
||||||
#else
|
#else
|
||||||
if (!e_client_has_xwindow(ec)) return;
|
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)
|
if (ec->netwm.state.hidden)
|
||||||
{
|
{
|
||||||
ec->netwm.update.state = 1;
|
ec->netwm.update.state = 1;
|
||||||
|
|
Loading…
Reference in New Issue