forked from enlightenment/efl
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
This commit is contained in:
parent
631fd714c3
commit
5ca78073b8
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue