ecore-wl2: Add placeholder API for ecore_wl2_window_raise
authorChris Michael <cp.michael@samsung.com>
Wed, 9 Sep 2015 17:06:54 +0000 (13:06 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 3 Dec 2015 17:02:40 +0000 (12:02 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_window.c

index 0ef7131..f3302bb 100644 (file)
@@ -312,6 +312,15 @@ EAPI void ecore_wl2_window_move(Ecore_Wl2_Window *window, int x, int y);
  */
 EAPI void ecore_wl2_window_resize(Ecore_Wl2_Window *window, int w, int h, int location);
 
+/**
+ * Raise a given Ecore_Wl2_Window
+ *
+ * @param window The Ecore_Wl2_Window which to raise
+ *
+ * @ingroup Ecore_Wl2_Window_Group
+ */
+EAPI void ecore_wl2_window_raise(Ecore_Wl2_Window *window);
+
 /* # ifdef __cplusplus */
 /* } */
 /* # endif */
index 82629c8..99c62e8 100644 (file)
@@ -344,3 +344,11 @@ ecore_wl2_window_resize(Ecore_Wl2_Window *window, int w, int h, int location)
    /*   wl_shell_surface_resize(window->wl_shell_surface, seat, */
    /*                           window->display->serial, location); */
 }
+
+EAPI void
+ecore_wl2_window_raise(Ecore_Wl2_Window *window)
+{
+   EINA_SAFETY_ON_NULL_RETURN(window);
+
+   /* FIXME: set keyboard focus when input is complete */
+}