diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-31 12:31:50 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2016-05-31 12:31:50 -0400 |
commit | 859b1b989f40a90698d9818bbedfb2bfda731a65 (patch) | |
tree | 32f1fe3f1a666c96ef4ca262c0ffe37beec224a6 | |
parent | 68c93a1adfb296687513d3258abc9e6caf8500e8 (diff) | |
download | enlightenment-859b1b989f40a90698d9818bbedfb2bfda731a65.tar.gz |
handle shaded state when receiving x11 configure requests
previously this would resize the window without unshading it, leading to
a confusing state for the window and the user
-rw-r--r-- | src/bin/e_comp_x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 7ad33adef9..288d885b89 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -1749,7 +1749,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore if (resize && (!ec->lock_client_size) && (move || ((!ec->maximized) && (!ec->fullscreen)))) { - if ((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) + if (ec->shaded || ((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE)) e_comp_object_frame_wh_unadjust(ec->frame, w, h, &ec->saved.w, &ec->saved.h); else if (!ec->maximize_override) { |