efl_ui_win: Don't allow the frame object to change size before first draw
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Fri, 7 Dec 2018 16:46:11 +0000 (10:46 -0600)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000 (13:23 +0900)
commit1cbb70319d646063871d200f5132326e220a1573
tree5323e63db72ca8b63be160c45a74d4c76c1c39f8
parent61d1a92d079b55e45aac07da1f20f9aaaa2221b4
efl_ui_win: Don't allow the frame object to change size before first draw

This fixes a bug where calling:

evas_object_show(win);
evas_object_resize(win, 400, 400);
elm_run();

Would show a much smaller than 400,400 window on wayland, as the CSD
calcs would set the size smaller.

It also fixes some differences in startup size between X and wayland for
some trivial test clients.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7438
src/lib/elementary/efl_ui_win.c