EAPI void ecore_wl_window_show(Ecore_Wl_Window *win);
EAPI void ecore_wl_window_hide(Ecore_Wl_Window *win);
EAPI void ecore_wl_window_raise(Ecore_Wl_Window *win);
+EAPI void ecore_wl_window_shell_surface_raise(Ecore_Wl_Window *win);
EAPI void ecore_wl_window_maximized_set(Ecore_Wl_Window *win, Eina_Bool maximized);
EAPI void ecore_wl_window_fullscreen_set(Ecore_Wl_Window *win, Eina_Bool fullscreen);
EAPI void ecore_wl_window_transparent_set(Ecore_Wl_Window *win, Eina_Bool transparent);
wl_shell_surface_set_toplevel(win->shell_surface);
}
+/*
+ * Raises a window's shell surface
+ * Send a request to wayland to raise the window surface
+ * Maybe this function should be what ecore_wl_window_raise()
+ * intended to do instead of calling set_toplevel on the surface?
+ */
+EAPI void
+ecore_wl_window_shell_surface_raise(Ecore_Wl_Window *win)
+{
+ LOGFN(__FILE__, __LINE__, __FUNCTION__);
+
+ if (!win) return;
+ if (win->shell_surface) {
+ /*
+ * The wayland protocol and weston shell needs to
+ * be patched to support wl_shell_surface_raise
+ */
+ wl_shell_surface_raise(win->shell_surface);
+ }
+}
+
EAPI void
ecore_wl_window_maximized_set(Ecore_Wl_Window *win, Eina_Bool maximized)
{