From 859b1b989f40a90698d9818bbedfb2bfda731a65 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 31 May 2016 12:31:50 -0400 Subject: [PATCH] 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 --- src/bin/e_comp_x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 7ad33adef..288d885b8 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) {