Commit 9b11b227 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz

elm_win: simplify borderless_set when reapplying the same state

parent ce2160ab
......@@ -4944,13 +4944,12 @@ _efl_ui_win_borderless_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool b
if (borderless)
if (need_frame)
if (need_frame && sd->frame_obj)
else if (need_frame && (!sd->frame_obj))
if (need_frame)
_elm_win_frame_add(sd, "default");
_elm_win_frame_add(sd, "default");
if (sd->frame_obj)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment