discomfitor pushed a commit to branch master.

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

commit a3da199685794a28b2e5cc4fd3aa34d87b5f63fc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 8 16:06:19 2016 -0400

    disable maximize anims for www-compatible wl surfaces
    
    due to www modifying the csd region, animating resizes will trigger
    unsolvable race conditions which break windows
---
 src/bin/e_comp_wl_extensions.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_comp_wl_extensions.c b/src/bin/e_comp_wl_extensions.c
index b09348e..dd15f10 100644
--- a/src/bin/e_comp_wl_extensions.c
+++ b/src/bin/e_comp_wl_extensions.c
@@ -98,6 +98,7 @@ _e_comp_wl_www_surface_del(struct wl_resource *res)
    ec = wl_resource_get_user_data(res);
    if (!e_object_is_del(E_OBJECT(ec)))
      ec->comp_data->www.surface = NULL;
+   ec->maximize_anims_disabled = 0;
    e_object_unref(E_OBJECT(ec));
 }
 
@@ -138,6 +139,7 @@ _e_comp_wl_www_cb_create(struct wl_client *client, struct 
wl_resource *resource,
     ec->comp_data->www.surface = ww;
     ec->comp_data->www.x = ec->x;
     ec->comp_data->www.y = ec->y;
+    ec->maximize_anims_disabled = 1;
     e_object_ref(E_OBJECT(ec));
 }
 

-- 


Reply via email to