summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-01 07:34:43 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-01 07:34:43 -0400
commit2035931ba712a75fe1a26a5f2aca6e7c60da70db (patch)
tree58d98841e39da23f0252f84f3856031e3b6e557f
parentc67f50b40aaf2595e21373bf89b53bc1edec44a4 (diff)
downloadefl-2035931ba712a75fe1a26a5f2aca6e7c60da70db.tar.gz
ecore-wl2: Move structures above functions
NB: This is just a cosmetic issue, no functional changes Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_private.h28
1 files 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 58e8744038..d3a00de1bd 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