From: Juyeon Lee Date: Tue, 14 Nov 2017 09:43:18 +0000 (+0900) Subject: efl_ui_win: implement elm_win_floating_mode_set on wayland X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3cc04ad4336fea0925f0b210d0a970d3fc69356;p=platform%2Fupstream%2Fefl.git efl_ui_win: implement elm_win_floating_mode_set on wayland Change-Id: I3f2964deee94d337273e053243c40cad914e19e8 --- diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 11360b5..cb35961 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -7019,6 +7019,14 @@ elm_win_floating_mode_set(Evas_Object *obj, Eina_Bool floating) floating = !!floating; if (floating == sd->floating) return; sd->floating = floating; +#if HAVE_ELEMENTARY_WL2 + _elm_win_wlwindow_get(sd); + if (sd->wl.win) + { + // TODO: frame style(csd) shall be applied refer to Eina_Bool floating + ecore_wl2_window_floating_mode_set(sd->wl.win, floating); + } +#endif #ifdef HAVE_ELEMENTARY_X _internal_elm_win_xwindow_get(sd); if (sd->x.xwin)