summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Antognolli <rafael.antognolli@intel.com>2013-11-01 15:55:39 -0200
committerRafael Antognolli <rafael.antognolli@intel.com>2013-11-01 15:55:39 -0200
commitfe8058cf77b6233917c3aaaf014473788e347888 (patch)
treef57c782525fc149f38f22c1f1abfe36c16482f5b
parentb77ac9b57ef6367adaa2812be874575559b54d72 (diff)
downloadefl-fe8058cf77b6233917c3aaaf014473788e347888.tar.gz
ecore/wayland: Finally move Ecore_Wayland internals to private header.
-rw-r--r--src/lib/ecore_wayland/Ecore_Wayland.h60
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h58
2 files changed, 58 insertions, 60 deletions
diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h
index fe376308ea..f58d41f62a 100644
--- a/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -109,66 +109,6 @@ struct _Ecore_Wl_Output
void *data;
};
-struct _Ecore_Wl_Window
-{
- Ecore_Wl_Display *display;
- Ecore_Wl_Window *parent;
-
- struct wl_surface *surface;
- struct wl_shell_surface *shell_surface;
-
- struct
- {
- struct wl_surface *surface;
- int hot_x, hot_y;
- Eina_Bool set : 1;
- } pointer;
-
- int id, surface_id;
- int rotation;
-
- const char *title;
- const char *class_name;
-
- Eina_Rectangle allocation;
-
- struct
- {
- int w, h;
- } saved;
-
- struct
- {
- int x, y, w, h;
- } opaque;
-
- /* Eina_Bool redraw_scheduled : 1; */
- /* Eina_Bool resize_scheduled : 1; */
- Eina_Bool alpha : 1;
- Eina_Bool transparent : 1;
- Eina_Bool moving : 1;
- Eina_Bool resizing : 1;
- Eina_Bool has_buffer : 1;
-
- Ecore_Wl_Window_Type type;
- Ecore_Wl_Window_Buffer_Type buffer_type;
-
- Ecore_Wl_Input *pointer_device;
- Ecore_Wl_Input *keyboard_device;
-
- /* FIXME: Shouldn't these attributes be private to the Ecore_Wl_Window? */
-
- Eina_Bool anim_pending : 1;
- struct wl_callback *anim_callback;
-
- /* FIXME: Ideally we should record the cursor name for this window
- * so we can compare and avoid unnecessary cursor set calls to wayland */
-
- Ecore_Wl_Subsurf *subsurfs;
-
- void *data;
-};
-
struct _Ecore_Wl_Event_Mouse_In
{
int modifiers;
diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h
index 06be1a5b58..fa92e6d93e 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -92,6 +92,64 @@ struct _Ecore_Wl_Display
void *data;
};
+struct _Ecore_Wl_Window
+{
+ Ecore_Wl_Display *display;
+ Ecore_Wl_Window *parent;
+
+ struct wl_surface *surface;
+ struct wl_shell_surface *shell_surface;
+
+ struct
+ {
+ struct wl_surface *surface;
+ int hot_x, hot_y;
+ Eina_Bool set : 1;
+ } pointer;
+
+ int id, surface_id;
+ int rotation;
+
+ const char *title;
+ const char *class_name;
+
+ Eina_Rectangle allocation;
+
+ struct
+ {
+ int w, h;
+ } saved;
+
+ struct
+ {
+ int x, y, w, h;
+ } opaque;
+
+ /* Eina_Bool redraw_scheduled : 1; */
+ /* Eina_Bool resize_scheduled : 1; */
+ Eina_Bool alpha : 1;
+ Eina_Bool transparent : 1;
+ Eina_Bool moving : 1;
+ Eina_Bool resizing : 1;
+ Eina_Bool has_buffer : 1;
+
+ Ecore_Wl_Window_Type type;
+ Ecore_Wl_Window_Buffer_Type buffer_type;
+
+ Ecore_Wl_Input *pointer_device;
+ Ecore_Wl_Input *keyboard_device;
+
+ Eina_Bool anim_pending : 1;
+ struct wl_callback *anim_callback;
+
+ /* FIXME: Ideally we should record the cursor name for this window
+ * so we can compare and avoid unnecessary cursor set calls to wayland */
+
+ Ecore_Wl_Subsurf *subsurfs;
+
+ void *data;
+};
+
struct _Ecore_Wl_Input
{
Ecore_Wl_Display *display;