summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-01-18 13:44:10 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-01-18 15:43:52 -0500
commit344a89618f1d7af4a2d9f580fcb4d13e98ac9849 (patch)
treefa9def8205a1ebcd45151eeb2659bf3f515e6a0d
parent57ea33e5415bf4e3fa81a6a7faa0e0fceb0cf91c (diff)
unset WM_STATE for x11 clients upon unmapping them
icccm provides conflicting spec info regarding how this property should be set. according to 4.1.3.1: When the window is withdrawn, the window manager will either change the state field's value to WithdrawnState or it will remove the WM_STATE property entirely. however, 4.1.4 states: Only the client can effect a transition into or out of the Withdrawn state so to be on the safe(r) side, deleting the property seems to be the best choice here ref 41daddeacce81eb3a2f49d22320740e1d59e866d fix T3011
-rw-r--r--src/bin/e_hints.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c
index c2c83483f..3ca5f21a0 100644
--- a/src/bin/e_hints.c
+++ b/src/bin/e_hints.c
@@ -1289,6 +1289,7 @@ e_hints_window_hidden_set(E_Client *ec)
1289 ec->netwm.state.hidden = 0; 1289 ec->netwm.state.hidden = 0;
1290 EC_CHANGED(ec); 1290 EC_CHANGED(ec);
1291 } 1291 }
1292 ecore_x_window_prop_property_del(e_client_util_win_get(ec), ECORE_X_ATOM_WM_STATE);
1292 _e_hints_process_wakeup(ec); 1293 _e_hints_process_wakeup(ec);
1293#endif 1294#endif
1294} 1295}