discomfitor pushed a commit to branch master.

http://git.enlightenment.org/enlightenment/modules/desksanity.git/commit/?id=3664906fd3b60c696d13004ca13876f5e3e17dbc

commit 3664906fd3b60c696d13004ca13876f5e3e17dbc
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Nov 16 15:05:16 2015 -0500

    disable maximize effect for x11 csd windows
    
    this is impossible to sanely handle at present
---
 src/maximize.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/maximize.c b/src/maximize.c
index 9b34b26..9b0eac4 100644
--- a/src/maximize.c
+++ b/src/maximize.c
@@ -18,6 +18,7 @@ _ds_unmaximize_post(void *data, Evas_Object *obj, void 
*event_info EINA_UNUSED)
    double time = 0.15;
 
    if (e_comp_config_get()->match.disable_borders) return;
+   if (e_client_has_xwindow(ec) && (!e_comp_object_frame_allowed(ec->frame))) 
return;
    if (e_comp_config_get()->fast_borders)
      time /= 2;
    w = ec->w, h = ec->h;
@@ -75,6 +76,7 @@ _ds_maximize(void *data, Evas_Object *obj EINA_UNUSED, void 
*event_info EINA_UNU
    double time = 0.2;
 
    if (e_comp_config_get()->match.disable_borders) return;
+   if (e_client_has_xwindow(ec) && (!e_comp_object_frame_allowed(ec->frame))) 
return;
    if (e_comp_config_get()->fast_borders)
      time /= 2;
    ecx = ec->x, ecy = ec->y, ecw = ec->w, ech = ec->h;

-- 


Reply via email to