discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5ca78073b83ca64ab1e1651e83d27d2279f7482f

commit 5ca78073b83ca64ab1e1651e83d27d2279f7482f
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue Aug 14 17:11:53 2018 -0400

    elm/win: skip frame updating if csd is not active
    
    Summary:
    this avoids extra recalcs and resizes when csd is not active, which has
    the side benefit of not breaking the x11 engine's behavior--currently only
    an issue because the ecore-evas x11 backend does not have an implementation
    of ConfigureNotify event handling which is even remotely correct
    
    these issues will be resolved in future patches
    
    fix T7243
    ref T7008
    
    Reviewers: devilhorns, ManMower
    
    Reviewed By: devilhorns, ManMower
    
    Subscribers: ManMower, cedric, #reviewers, #committers
    
    Tags: #efl_display_system
    
    Maniphest Tasks: T7243, T7008
    
    Differential Revision: https://phab.enlightenment.org/D6794
---
 src/lib/elementary/efl_ui_win.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 9a2a9ab1ba..5e61dd4003 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1540,6 +1540,7 @@ _elm_win_frame_obj_update(Efl_Ui_Win_Data *sd, Eina_Bool 
force)
    int w, h;
 
    if (!sd->frame_obj) return;
+   if (!sd->csd.need) return;
    _elm_win_frame_geometry_adjust(sd);
    evas_object_geometry_get(sd->frame_obj, &ox, &oy, &ow, &oh);
    if (elm_widget_is_legacy(sd->obj))

-- 


Reply via email to