summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/Ecore_Wl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/Ecore_Wl2.h')
-rw-r--r--src/lib/ecore_wl2/Ecore_Wl2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 240ec82..b706b4c 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -737,6 +737,18 @@ EAPI const char *ecore_wl2_display_name_get(const Ecore_Wl2_Display *display);
737EAPI Ecore_Wl2_Window *ecore_wl2_window_new(Ecore_Wl2_Display *display, Ecore_Wl2_Window *parent, int x, int y, int w, int h); 737EAPI Ecore_Wl2_Window *ecore_wl2_window_new(Ecore_Wl2_Display *display, Ecore_Wl2_Window *parent, int x, int y, int w, int h);
738 738
739/** 739/**
740 * Set a callback to be caleld just before the window is closed and freed
741 *
742 * @param window The window to listen to for a xdg toplevel close callback
743 * @param cb The callback function to call being passed data and window
744 * @param data The Data pointer to pass as data to the callback
745 *
746 * @ingroup Ecore_Wl2_Window_Group
747 * @since 1.24
748 */
749EAPI void ecore_wl2_window_close_callback_set(Ecore_Wl2_Window *window, void (*cb) (void *data, Ecore_Wl2_Window *win), void *data);
750
751/**
740 * Get the wl_surface which belongs to this window 752 * Get the wl_surface which belongs to this window
741 * 753 *
742 * @param window The Ecore_Wl2_Window to get the surface of 754 * @param window The Ecore_Wl2_Window to get the surface of