summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-07 13:06:23 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-07 13:06:23 -0500
commitcc137f6cd752f8ff986b2febada20c9984d2a449 (patch)
tree5105281d728b61324f352502a360f27ee641583f
parentf0cc657e4c7fcea5ff1ccdde7602516c65e24ea1 (diff)
downloadenlightenment-cc137f6cd752f8ff986b2febada20c9984d2a449.tar.gz
move client iconic hint setting into x11 hide function
e_hints should probably be merged into the x11 compositor entirely at some point
-rw-r--r--src/bin/e_client.c1
-rw-r--r--src/bin/e_comp_x.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 05066dbe32..6673e3e31c 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -4027,7 +4027,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);
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 3a504dcbff..63074c3ec0 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -971,6 +971,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