efl_ui_win: implement elm_win_floating_mode_set on wayland
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 14 Nov 2017 09:43:18 +0000 (18:43 +0900)
committerJiyoun Park <jy0703.park@samsung.com>
Tue, 19 Dec 2017 07:48:25 +0000 (16:48 +0900)
Change-Id: I3f2964deee94d337273e053243c40cad914e19e8

src/lib/elementary/efl_ui_win.c

index 11360b5..cb35961 100644 (file)
@@ -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)