diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-14 17:11:53 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2018-08-14 17:11:53 -0400 |
commit | 5ca78073b83ca64ab1e1651e83d27d2279f7482f (patch) | |
tree | 5b5dea899ebdbef12f01a7f6d8ff0fe2f2ffe94b | |
parent | 631fd714c36b253174df9edd5be5d2ae5963b4a5 (diff) | |
download | efl-5ca78073b83ca64ab1e1651e83d27d2279f7482f.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |