devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=2035931ba712a75fe1a26a5f2aca6e7c60da70db
commit 2035931ba712a75fe1a26a5f2aca6e7c60da70db Author: Chris Michael <cpmich...@osg.samsung.com> Date: Fri Apr 1 07:34:43 2016 -0400 ecore-wl2: Move structures above functions NB: This is just a cosmetic issue, no functional changes Signed-off-by: Chris Michael <cpmich...@osg.samsung.com> --- src/lib/ecore_wl2/ecore_wl2_private.h | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_private.h b/src/lib/ecore_wl2/ecore_wl2_private.h index 58e8744..d3a00de 100644 --- a/src/lib/ecore_wl2/ecore_wl2_private.h +++ b/src/lib/ecore_wl2/ecore_wl2_private.h @@ -397,6 +397,20 @@ struct _Ecore_Wl2_Input unsigned int seat_version; }; +typedef struct Ecore_Wl2_Event_Window_WWW +{ + unsigned int window; + int x_rel; + int y_rel; + uint32_t timestamp; +} Ecore_Wl2_Event_Window_WWW; + +typedef struct Ecore_Wl2_Event_Window_WWW_Drag +{ + unsigned int window; + Eina_Bool dragging; +} Ecore_Wl2_Event_Window_WWW_Drag; + Ecore_Wl2_Window *_ecore_wl2_display_window_surface_find(Ecore_Wl2_Display *display, struct wl_surface *wl_surface); void _ecore_wl2_output_add(Ecore_Wl2_Display *display, unsigned int id); @@ -424,19 +438,7 @@ void _ecore_wl2_subsurf_free(Ecore_Wl2_Subsurface *subsurf); void _ecore_wl2_window_shell_surface_init(Ecore_Wl2_Window *window); void _ecore_wl2_window_www_surface_init(Ecore_Wl2_Window *window); -typedef struct Ecore_Wl2_Event_Window_WWW -{ - unsigned int window; - int x_rel; - int y_rel; - uint32_t timestamp; -} Ecore_Wl2_Event_Window_WWW; - -typedef struct Ecore_Wl2_Event_Window_WWW_Drag -{ - unsigned int window; - Eina_Bool dragging; -} Ecore_Wl2_Event_Window_WWW_Drag; EAPI extern int _ecore_wl2_event_window_www; EAPI extern int _ecore_wl2_event_window_www_drag; + #endif --