summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland/ecore_wl_private.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_private.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_private.h b/src/lib/ecore_wayland/ecore_wl_private.h
index fdbd3c9bef..06be1a5b58 100644
--- a/src/lib/ecore_wayland/ecore_wl_private.h
+++ b/src/lib/ecore_wayland/ecore_wl_private.h
@@ -92,6 +92,58 @@ struct _Ecore_Wl_Display
92 void *data; 92 void *data;
93}; 93};
94 94
95struct _Ecore_Wl_Input
96{
97 Ecore_Wl_Display *display;
98 struct wl_seat *seat;
99 struct wl_pointer *pointer;
100 struct wl_keyboard *keyboard;
101 struct wl_touch *touch;
102
103 const char *cursor_name;
104 struct wl_cursor *cursor;
105 struct wl_surface *cursor_surface;
106 struct wl_callback *cursor_frame_cb;
107 Ecore_Timer *cursor_timer;
108 unsigned int cursor_current_index;
109
110 struct wl_data_device *data_device;
111 struct wl_data_source *data_source;
112 struct wl_array data_types;
113
114 Ecore_Wl_Window *pointer_focus;
115 Ecore_Wl_Window *keyboard_focus;
116
117 unsigned int button;
118 unsigned int timestamp;
119 unsigned int modifiers;
120 unsigned int pointer_enter_serial;
121 int sx, sy;
122
123 struct wl_list link;
124
125 Ecore_Wl_Window *grab;
126 unsigned int grab_button;
127
128 Ecore_Wl_Dnd_Source *drag_source;
129 Ecore_Wl_Dnd_Source *selection_source;
130
131 struct
132 {
133 struct xkb_keymap *keymap;
134 struct xkb_state *state;
135 xkb_mod_mask_t control_mask;
136 xkb_mod_mask_t alt_mask;
137 xkb_mod_mask_t shift_mask;
138 } xkb;
139
140 struct
141 {
142 Ecore_Timer *tmr;
143 unsigned int sym, key, time;
144 } repeat;
145};
146
95struct _Ecore_Wl_Dnd 147struct _Ecore_Wl_Dnd
96{ 148{
97 Ecore_Wl_Display *ewd; 149 Ecore_Wl_Display *ewd;