discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ea1b0a2b02dff326b6e0089cb1028056e9351ce5

commit ea1b0a2b02dff326b6e0089cb1028056e9351ce5
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue May 31 12:31:50 2016 -0400

    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 0b96c87..09cbe58 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -1655,7 +1655,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)
           {

-- 


Reply via email to