discomfitor pushed a commit to branch master.

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

commit a33fa268473702620302e9c0586aeb4bf291519d
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jan 15 14:03:50 2014 -0500

    only set shape mask if client has been reparented
---
 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 0dbdfab..65465b2 100644
--- a/src/bin/e_comp_x.c
+++ b/src/bin/e_comp_x.c
@@ -2508,7 +2508,7 @@ _e_comp_x_hook_client_post_new_client(void *d 
EINA_UNUSED, E_Client *ec)
    if (ec->need_shape_merge)
      {
         _e_comp_x_client_shape_input_rectangle_set(ec);
-        if (!ec->shaped)
+        if ((!ec->shaped) && ec->comp_data->reparented)
           ecore_x_window_shape_mask_set(e_client_util_pwin_get(ec), 0);
         ec->need_shape_merge = 0;
      }

-- 


Reply via email to