summaryrefslogtreecommitdiff
path: root/legacy/ecore
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-07-28 05:23:42 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2010-07-28 05:23:42 +0000
commite248c8b6fc5e9485181e3f78b3409aaf47a923e8 (patch)
tree6dd87711a4335cb79140a93c208f2552f8a35bce /legacy/ecore
parent5028d6a2826025704c9a4e4e1648a9fa2223b358 (diff)
uncrustify so T_UNIX will stop nagging me! :)
SVN revision: 50583
Diffstat (limited to 'legacy/ecore')
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X.h3080
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h36
-rw-r--r--legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h384
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c1319
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_atoms.c489
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_composite.c59
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_cursor.c330
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_damage.c9
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c564
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dpms.c22
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_drawable.c64
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_e.c795
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_error.c42
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c2187
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_fixes.c93
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gc.c35
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_icccm.c987
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c139
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_mwm.c100
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c1427
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_pixmap.c17
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_private.h270
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_randr.c176
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_region.c34
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_screensaver.c32
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c592
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_sync.c30
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c130
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c1079
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c477
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_shape.c226
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xi2.c129
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_xinerama.c63
33 files changed, 8971 insertions, 6445 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
index 3af13c7..6bdf097 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
@@ -46,49 +46,51 @@
46 46
47typedef unsigned int Ecore_X_ID; 47typedef unsigned int Ecore_X_ID;
48#ifndef _ECORE_X_WINDOW_PREDEF 48#ifndef _ECORE_X_WINDOW_PREDEF
49typedef Ecore_X_ID Ecore_X_Window; 49typedef Ecore_X_ID Ecore_X_Window;
50#endif 50#endif
51#ifdef HAVE_ECORE_X_XCB 51#ifdef HAVE_ECORE_X_XCB
52typedef Ecore_X_ID Ecore_X_Visual; 52typedef Ecore_X_ID Ecore_X_Visual;
53#else 53#else
54typedef void * Ecore_X_Visual; 54typedef void *Ecore_X_Visual;
55#endif /* HAVE_ECORE_X_XCB */ 55#endif /* HAVE_ECORE_X_XCB */
56typedef Ecore_X_ID Ecore_X_Pixmap; 56typedef Ecore_X_ID Ecore_X_Pixmap;
57typedef Ecore_X_ID Ecore_X_Drawable; 57typedef Ecore_X_ID Ecore_X_Drawable;
58#ifdef HAVE_ECORE_X_XCB 58#ifdef HAVE_ECORE_X_XCB
59typedef Ecore_X_ID Ecore_X_GC; 59typedef Ecore_X_ID Ecore_X_GC;
60#else 60#else
61typedef void * Ecore_X_GC; 61typedef void *Ecore_X_GC;
62#endif /* HAVE_ECORE_X_XCB */ 62#endif /* HAVE_ECORE_X_XCB */
63typedef Ecore_X_ID Ecore_X_Atom; 63typedef Ecore_X_ID Ecore_X_Atom;
64typedef Ecore_X_ID Ecore_X_Colormap; 64typedef Ecore_X_ID Ecore_X_Colormap;
65typedef Ecore_X_ID Ecore_X_Time; 65typedef Ecore_X_ID Ecore_X_Time;
66typedef Ecore_X_ID Ecore_X_Cursor; 66typedef Ecore_X_ID Ecore_X_Cursor;
67typedef void Ecore_X_Display; 67typedef void Ecore_X_Display;
68typedef void Ecore_X_Connection; 68typedef void Ecore_X_Connection;
69typedef void Ecore_X_Screen; 69typedef void Ecore_X_Screen;
70typedef Ecore_X_ID Ecore_X_Sync_Counter; 70typedef Ecore_X_ID Ecore_X_Sync_Counter;
71typedef Ecore_X_ID Ecore_X_Sync_Alarm; 71typedef Ecore_X_ID Ecore_X_Sync_Alarm;
72typedef void Ecore_X_XRegion; 72typedef void Ecore_X_XRegion;
73 73
74typedef Ecore_X_ID Ecore_X_Randr_Output; 74typedef Ecore_X_ID Ecore_X_Randr_Output;
75typedef Ecore_X_ID Ecore_X_Randr_Crtc; 75typedef Ecore_X_ID Ecore_X_Randr_Crtc;
76typedef Ecore_X_ID Ecore_X_Randr_Mode; 76typedef Ecore_X_ID Ecore_X_Randr_Mode;
77typedef unsigned short Ecore_X_Randr_Size_ID; 77typedef unsigned short Ecore_X_Randr_Size_ID;
78 78
79typedef Ecore_X_ID Ecore_X_Device; 79typedef Ecore_X_ID Ecore_X_Device;
80 80
81#ifdef __cplusplus 81#ifdef __cplusplus
82extern "C" { 82extern "C" {
83#endif 83#endif
84 84
85typedef struct _Ecore_X_Rectangle { 85typedef struct _Ecore_X_Rectangle
86{
86 int x, y; 87 int x, y;
87 unsigned int width, height; 88 unsigned int width, height;
88} Ecore_X_Rectangle; 89} Ecore_X_Rectangle;
89 90
90typedef struct _Ecore_X_Icon { 91typedef struct _Ecore_X_Icon
91 unsigned int width, height; 92{
93 unsigned int width, height;
92 unsigned int *data; 94 unsigned int *data;
93} Ecore_X_Icon; 95} Ecore_X_Icon;
94 96
@@ -124,42 +126,42 @@ typedef enum _Ecore_X_Composite_Update_Type {
124} Ecore_X_Composite_Update_Type; 126} Ecore_X_Composite_Update_Type;
125 127
126typedef enum _Ecore_X_Window_State { 128typedef enum _Ecore_X_Window_State {
127 /* Unknown state */ 129 /* Unknown state */
128 ECORE_X_WINDOW_STATE_UNKNOWN = 0, 130 ECORE_X_WINDOW_STATE_UNKNOWN = 0,
129 /** The window is iconified. */ 131 /** The window is iconified. */
130 ECORE_X_WINDOW_STATE_ICONIFIED, 132 ECORE_X_WINDOW_STATE_ICONIFIED,
131 /** The window is a modal dialog box. */ 133 /** The window is a modal dialog box. */
132 ECORE_X_WINDOW_STATE_MODAL, 134 ECORE_X_WINDOW_STATE_MODAL,
133 /** The window manager should keep the window's position fixed 135 /** The window manager should keep the window's position fixed
134 * even if the virtual desktop scrolls. */ 136 * even if the virtual desktop scrolls. */
135 ECORE_X_WINDOW_STATE_STICKY, 137 ECORE_X_WINDOW_STATE_STICKY,
136 /** The window has the maximum vertical size. */ 138 /** The window has the maximum vertical size. */
137 ECORE_X_WINDOW_STATE_MAXIMIZED_VERT, 139 ECORE_X_WINDOW_STATE_MAXIMIZED_VERT,
138 /** The window has the maximum horizontal size. */ 140 /** The window has the maximum horizontal size. */
139 ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ, 141 ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ,
140 /** The window is shaded. */ 142 /** The window is shaded. */
141 ECORE_X_WINDOW_STATE_SHADED, 143 ECORE_X_WINDOW_STATE_SHADED,
142 /** The window should not be included in the taskbar. */ 144 /** The window should not be included in the taskbar. */
143 ECORE_X_WINDOW_STATE_SKIP_TASKBAR, 145 ECORE_X_WINDOW_STATE_SKIP_TASKBAR,
144 /** The window should not be included in the pager. */ 146 /** The window should not be included in the pager. */
145 ECORE_X_WINDOW_STATE_SKIP_PAGER, 147 ECORE_X_WINDOW_STATE_SKIP_PAGER,
146 /** The window is invisible (i.e. minimized/iconified) */ 148 /** The window is invisible (i.e. minimized/iconified) */
147 ECORE_X_WINDOW_STATE_HIDDEN, 149 ECORE_X_WINDOW_STATE_HIDDEN,
148 /** The window should fill the entire screen and have no 150 /** The window should fill the entire screen and have no
149 * window border/decorations */ 151 * window border/decorations */
150 ECORE_X_WINDOW_STATE_FULLSCREEN, 152 ECORE_X_WINDOW_STATE_FULLSCREEN,
151 /* The following are not documented because they are not 153 /* The following are not documented because they are not
152 * intended for use in applications. */ 154 * intended for use in applications. */
153 ECORE_X_WINDOW_STATE_ABOVE, 155 ECORE_X_WINDOW_STATE_ABOVE,
154 ECORE_X_WINDOW_STATE_BELOW, 156 ECORE_X_WINDOW_STATE_BELOW,
155 /* FIXME: Documentation */ 157 /* FIXME: Documentation */
156 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION 158 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION
157} Ecore_X_Window_State; 159} Ecore_X_Window_State;
158 160
159typedef enum _Ecore_X_Window_State_Action { 161typedef enum _Ecore_X_Window_State_Action {
160 ECORE_X_WINDOW_STATE_ACTION_REMOVE, 162 ECORE_X_WINDOW_STATE_ACTION_REMOVE,
161 ECORE_X_WINDOW_STATE_ACTION_ADD, 163 ECORE_X_WINDOW_STATE_ACTION_ADD,
162 ECORE_X_WINDOW_STATE_ACTION_TOGGLE 164 ECORE_X_WINDOW_STATE_ACTION_TOGGLE
163} Ecore_X_Window_State_Action; 165} Ecore_X_Window_State_Action;
164 166
165typedef enum _Ecore_X_Window_Stack_Mode { 167typedef enum _Ecore_X_Window_Stack_Mode {
@@ -180,9 +182,9 @@ typedef enum _Ecore_X_Randr_Rotation {
180} Ecore_X_Randr_Rotation; 182} Ecore_X_Randr_Rotation;
181 183
182typedef enum _Ecore_X_Randr_Connection { 184typedef enum _Ecore_X_Randr_Connection {
183 ECORE_X_RANDR_CONNECTED = 0, 185 ECORE_X_RANDR_CONNECTED = 0,
184 ECORE_X_RANDR_DISCONNECTED = 1, 186 ECORE_X_RANDR_DISCONNECTED = 1,
185 ECORE_X_RANDR_UNKNOWN_CONNECTION = 2 187 ECORE_X_RANDR_UNKNOWN_CONNECTION = 2
186} Ecore_X_Randr_Connection; 188} Ecore_X_Randr_Connection;
187 189
188typedef enum _Ecore_X_Render_Subpixel_Order { 190typedef enum _Ecore_X_Render_Subpixel_Order {
@@ -239,27 +241,27 @@ typedef enum _Ecore_X_Event_Detail
239 241
240typedef enum _Ecore_X_Event_Mask 242typedef enum _Ecore_X_Event_Mask
241{ 243{
242 ECORE_X_EVENT_MASK_NONE = 0L, 244 ECORE_X_EVENT_MASK_NONE = 0L,
243 ECORE_X_EVENT_MASK_KEY_DOWN = (1L << 0), 245 ECORE_X_EVENT_MASK_KEY_DOWN = (1L << 0),
244 ECORE_X_EVENT_MASK_KEY_UP = (1L << 1), 246 ECORE_X_EVENT_MASK_KEY_UP = (1L << 1),
245 ECORE_X_EVENT_MASK_MOUSE_DOWN = (1L << 2), 247 ECORE_X_EVENT_MASK_MOUSE_DOWN = (1L << 2),
246 ECORE_X_EVENT_MASK_MOUSE_UP = (1L << 3), 248 ECORE_X_EVENT_MASK_MOUSE_UP = (1L << 3),
247 ECORE_X_EVENT_MASK_MOUSE_IN = (1L << 4), 249 ECORE_X_EVENT_MASK_MOUSE_IN = (1L << 4),
248 ECORE_X_EVENT_MASK_MOUSE_OUT = (1L << 5), 250 ECORE_X_EVENT_MASK_MOUSE_OUT = (1L << 5),
249 ECORE_X_EVENT_MASK_MOUSE_MOVE = (1L << 6), 251 ECORE_X_EVENT_MASK_MOUSE_MOVE = (1L << 6),
250 ECORE_X_EVENT_MASK_WINDOW_DAMAGE = (1L << 15), 252 ECORE_X_EVENT_MASK_WINDOW_DAMAGE = (1L << 15),
251 ECORE_X_EVENT_MASK_WINDOW_VISIBILITY = (1L << 16), 253 ECORE_X_EVENT_MASK_WINDOW_VISIBILITY = (1L << 16),
252 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE = (1L << 17), 254 ECORE_X_EVENT_MASK_WINDOW_CONFIGURE = (1L << 17),
253 ECORE_X_EVENT_MASK_WINDOW_RESIZE_MANAGE = (1L << 18), 255 ECORE_X_EVENT_MASK_WINDOW_RESIZE_MANAGE = (1L << 18),
254 ECORE_X_EVENT_MASK_WINDOW_MANAGE = (1L << 19), 256 ECORE_X_EVENT_MASK_WINDOW_MANAGE = (1L << 19),
255 ECORE_X_EVENT_MASK_WINDOW_CHILD_CONFIGURE = (1L << 20), 257 ECORE_X_EVENT_MASK_WINDOW_CHILD_CONFIGURE = (1L << 20),
256 ECORE_X_EVENT_MASK_WINDOW_FOCUS_CHANGE = (1L << 21), 258 ECORE_X_EVENT_MASK_WINDOW_FOCUS_CHANGE = (1L << 21),
257 ECORE_X_EVENT_MASK_WINDOW_PROPERTY = (1L << 22), 259 ECORE_X_EVENT_MASK_WINDOW_PROPERTY = (1L << 22),
258 ECORE_X_EVENT_MASK_WINDOW_COLORMAP = (1L << 23), 260 ECORE_X_EVENT_MASK_WINDOW_COLORMAP = (1L << 23),
259 ECORE_X_EVENT_MASK_WINDOW_GRAB = (1L << 24), 261 ECORE_X_EVENT_MASK_WINDOW_GRAB = (1L << 24),
260 ECORE_X_EVENT_MASK_MOUSE_WHEEL = (1L << 29), 262 ECORE_X_EVENT_MASK_MOUSE_WHEEL = (1L << 29),
261 ECORE_X_EVENT_MASK_WINDOW_FOCUS_IN = (1L << 30), 263 ECORE_X_EVENT_MASK_WINDOW_FOCUS_IN = (1L << 30),
262 ECORE_X_EVENT_MASK_WINDOW_FOCUS_OUT = (1L << 31) 264 ECORE_X_EVENT_MASK_WINDOW_FOCUS_OUT = (1L << 31)
263} Ecore_X_Event_Mask; 265} Ecore_X_Event_Mask;
264 266
265typedef enum _Ecore_X_Gravity 267typedef enum _Ecore_X_Gravity
@@ -285,565 +287,589 @@ typedef enum _Ecore_X_Shape_Type
285 ECORE_X_SHAPE_CLIP 287 ECORE_X_SHAPE_CLIP
286} Ecore_X_Shape_Type; 288} Ecore_X_Shape_Type;
287 289
288typedef struct _Ecore_X_Event_Mouse_In Ecore_X_Event_Mouse_In; 290typedef struct _Ecore_X_Event_Mouse_In Ecore_X_Event_Mouse_In;
289typedef struct _Ecore_X_Event_Mouse_Out Ecore_X_Event_Mouse_Out; 291typedef struct _Ecore_X_Event_Mouse_Out Ecore_X_Event_Mouse_Out;
290typedef struct _Ecore_X_Event_Window_Focus_In Ecore_X_Event_Window_Focus_In; 292typedef struct _Ecore_X_Event_Window_Focus_In Ecore_X_Event_Window_Focus_In;
291typedef struct _Ecore_X_Event_Window_Focus_Out Ecore_X_Event_Window_Focus_Out; 293typedef struct _Ecore_X_Event_Window_Focus_Out Ecore_X_Event_Window_Focus_Out;
292typedef struct _Ecore_X_Event_Window_Keymap Ecore_X_Event_Window_Keymap; 294typedef struct _Ecore_X_Event_Window_Keymap Ecore_X_Event_Window_Keymap;
293typedef struct _Ecore_X_Event_Window_Damage Ecore_X_Event_Window_Damage; 295typedef struct _Ecore_X_Event_Window_Damage Ecore_X_Event_Window_Damage;
294typedef struct _Ecore_X_Event_Window_Visibility_Change Ecore_X_Event_Window_Visibility_Change; 296typedef struct _Ecore_X_Event_Window_Visibility_Change
295typedef struct _Ecore_X_Event_Window_Create Ecore_X_Event_Window_Create; 297Ecore_X_Event_Window_Visibility_Change;
296typedef struct _Ecore_X_Event_Window_Destroy Ecore_X_Event_Window_Destroy; 298typedef struct _Ecore_X_Event_Window_Create Ecore_X_Event_Window_Create;
297typedef struct _Ecore_X_Event_Window_Hide Ecore_X_Event_Window_Hide; 299typedef struct _Ecore_X_Event_Window_Destroy Ecore_X_Event_Window_Destroy;
298typedef struct _Ecore_X_Event_Window_Show Ecore_X_Event_Window_Show; 300typedef struct _Ecore_X_Event_Window_Hide Ecore_X_Event_Window_Hide;
299typedef struct _Ecore_X_Event_Window_Show_Request Ecore_X_Event_Window_Show_Request; 301typedef struct _Ecore_X_Event_Window_Show Ecore_X_Event_Window_Show;
300typedef struct _Ecore_X_Event_Window_Reparent Ecore_X_Event_Window_Reparent; 302typedef struct _Ecore_X_Event_Window_Show_Request
301typedef struct _Ecore_X_Event_Window_Configure Ecore_X_Event_Window_Configure; 303Ecore_X_Event_Window_Show_Request;
302typedef struct _Ecore_X_Event_Window_Configure_Request Ecore_X_Event_Window_Configure_Request; 304typedef struct _Ecore_X_Event_Window_Reparent Ecore_X_Event_Window_Reparent;
303typedef struct _Ecore_X_Event_Window_Gravity Ecore_X_Event_Window_Gravity; 305typedef struct _Ecore_X_Event_Window_Configure Ecore_X_Event_Window_Configure;
304typedef struct _Ecore_X_Event_Window_Resize_Request Ecore_X_Event_Window_Resize_Request; 306typedef struct _Ecore_X_Event_Window_Configure_Request
305typedef struct _Ecore_X_Event_Window_Stack Ecore_X_Event_Window_Stack; 307Ecore_X_Event_Window_Configure_Request;
306typedef struct _Ecore_X_Event_Window_Stack_Request Ecore_X_Event_Window_Stack_Request; 308typedef struct _Ecore_X_Event_Window_Gravity Ecore_X_Event_Window_Gravity;
307typedef struct _Ecore_X_Event_Window_Property Ecore_X_Event_Window_Property; 309typedef struct _Ecore_X_Event_Window_Resize_Request
308typedef struct _Ecore_X_Event_Window_Colormap Ecore_X_Event_Window_Colormap; 310Ecore_X_Event_Window_Resize_Request;
309typedef struct _Ecore_X_Event_Window_Mapping Ecore_X_Event_Window_Mapping; 311typedef struct _Ecore_X_Event_Window_Stack Ecore_X_Event_Window_Stack;
310typedef struct _Ecore_X_Event_Selection_Clear Ecore_X_Event_Selection_Clear; 312typedef struct _Ecore_X_Event_Window_Stack_Request
311typedef struct _Ecore_X_Event_Selection_Request Ecore_X_Event_Selection_Request; 313Ecore_X_Event_Window_Stack_Request;
312typedef struct _Ecore_X_Event_Selection_Notify Ecore_X_Event_Selection_Notify; 314typedef struct _Ecore_X_Event_Window_Property Ecore_X_Event_Window_Property;
313typedef struct _Ecore_X_Selection_Data Ecore_X_Selection_Data; 315typedef struct _Ecore_X_Event_Window_Colormap Ecore_X_Event_Window_Colormap;
314typedef struct _Ecore_X_Selection_Data_Files Ecore_X_Selection_Data_Files; 316typedef struct _Ecore_X_Event_Window_Mapping Ecore_X_Event_Window_Mapping;
315typedef struct _Ecore_X_Selection_Data_Text Ecore_X_Selection_Data_Text; 317typedef struct _Ecore_X_Event_Selection_Clear Ecore_X_Event_Selection_Clear;
316typedef struct _Ecore_X_Selection_Data_Targets Ecore_X_Selection_Data_Targets; 318typedef struct _Ecore_X_Event_Selection_Request Ecore_X_Event_Selection_Request;
317typedef struct _Ecore_X_Event_Xdnd_Enter Ecore_X_Event_Xdnd_Enter; 319typedef struct _Ecore_X_Event_Selection_Notify Ecore_X_Event_Selection_Notify;
318typedef struct _Ecore_X_Event_Xdnd_Position Ecore_X_Event_Xdnd_Position; 320typedef struct _Ecore_X_Selection_Data Ecore_X_Selection_Data;
319typedef struct _Ecore_X_Event_Xdnd_Status Ecore_X_Event_Xdnd_Status; 321typedef struct _Ecore_X_Selection_Data_Files Ecore_X_Selection_Data_Files;
320typedef struct _Ecore_X_Event_Xdnd_Leave Ecore_X_Event_Xdnd_Leave; 322typedef struct _Ecore_X_Selection_Data_Text Ecore_X_Selection_Data_Text;
321typedef struct _Ecore_X_Event_Xdnd_Drop Ecore_X_Event_Xdnd_Drop; 323typedef struct _Ecore_X_Selection_Data_Targets Ecore_X_Selection_Data_Targets;
322typedef struct _Ecore_X_Event_Xdnd_Finished Ecore_X_Event_Xdnd_Finished; 324typedef struct _Ecore_X_Event_Xdnd_Enter Ecore_X_Event_Xdnd_Enter;
323typedef struct _Ecore_X_Event_Client_Message Ecore_X_Event_Client_Message; 325typedef struct _Ecore_X_Event_Xdnd_Position Ecore_X_Event_Xdnd_Position;
324typedef struct _Ecore_X_Event_Window_Shape Ecore_X_Event_Window_Shape; 326typedef struct _Ecore_X_Event_Xdnd_Status Ecore_X_Event_Xdnd_Status;
325typedef struct _Ecore_X_Event_Screensaver_Notify Ecore_X_Event_Screensaver_Notify; 327typedef struct _Ecore_X_Event_Xdnd_Leave Ecore_X_Event_Xdnd_Leave;
326typedef struct _Ecore_X_Event_Sync_Counter Ecore_X_Event_Sync_Counter; 328typedef struct _Ecore_X_Event_Xdnd_Drop Ecore_X_Event_Xdnd_Drop;
327typedef struct _Ecore_X_Event_Sync_Alarm Ecore_X_Event_Sync_Alarm; 329typedef struct _Ecore_X_Event_Xdnd_Finished Ecore_X_Event_Xdnd_Finished;
328typedef struct _Ecore_X_Event_Screen_Change Ecore_X_Event_Screen_Change; 330typedef struct _Ecore_X_Event_Client_Message Ecore_X_Event_Client_Message;
329typedef struct _Ecore_X_Event_Randr_Crtc_Change Ecore_X_Event_Randr_Crtc_Change; 331typedef struct _Ecore_X_Event_Window_Shape Ecore_X_Event_Window_Shape;
330typedef struct _Ecore_X_Event_Randr_Output_Change Ecore_X_Event_Randr_Output_Change; 332typedef struct _Ecore_X_Event_Screensaver_Notify
331typedef struct _Ecore_X_Event_Randr_Output_Property_Notify Ecore_X_Event_Randr_Output_Property_Notify; 333Ecore_X_Event_Screensaver_Notify;
332 334typedef struct _Ecore_X_Event_Sync_Counter Ecore_X_Event_Sync_Counter;
333typedef struct _Ecore_X_Event_Window_Delete_Request Ecore_X_Event_Window_Delete_Request; 335typedef struct _Ecore_X_Event_Sync_Alarm Ecore_X_Event_Sync_Alarm;
334typedef struct _Ecore_X_Event_Window_Prop_Title_Change Ecore_X_Event_Window_Prop_Title_Change; 336typedef struct _Ecore_X_Event_Screen_Change Ecore_X_Event_Screen_Change;
335typedef struct _Ecore_X_Event_Window_Prop_Visible_Title_Change Ecore_X_Event_Window_Prop_Visible_Title_Change; 337typedef struct _Ecore_X_Event_Randr_Crtc_Change Ecore_X_Event_Randr_Crtc_Change;
336typedef struct _Ecore_X_Event_Window_Prop_Icon_Name_Change Ecore_X_Event_Window_Prop_Icon_Name_Change; 338typedef struct _Ecore_X_Event_Randr_Output_Change
337typedef struct _Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change; 339Ecore_X_Event_Randr_Output_Change;
338typedef struct _Ecore_X_Event_Window_Prop_Client_Machine_Change Ecore_X_Event_Window_Prop_Client_Machine_Change; 340typedef struct _Ecore_X_Event_Randr_Output_Property_Notify
339typedef struct _Ecore_X_Event_Window_Prop_Name_Class_Change Ecore_X_Event_Window_Prop_Name_Class_Change; 341Ecore_X_Event_Randr_Output_Property_Notify;
340typedef struct _Ecore_X_Event_Window_Prop_Pid_Change Ecore_X_Event_Window_Prop_Pid_Change; 342
341typedef struct _Ecore_X_Event_Window_Prop_Desktop_Change Ecore_X_Event_Window_Prop_Desktop_Change; 343typedef struct _Ecore_X_Event_Window_Delete_Request
342 344Ecore_X_Event_Window_Delete_Request;
343typedef struct _Ecore_X_Event_Window_Move_Resize_Request Ecore_X_Event_Window_Move_Resize_Request; 345typedef struct _Ecore_X_Event_Window_Prop_Title_Change
344typedef struct _Ecore_X_Event_Window_State_Request Ecore_X_Event_Window_State_Request; 346Ecore_X_Event_Window_Prop_Title_Change;
345typedef struct _Ecore_X_Event_Frame_Extents_Request Ecore_X_Event_Frame_Extents_Request; 347typedef struct _Ecore_X_Event_Window_Prop_Visible_Title_Change
346typedef struct _Ecore_X_Event_Ping Ecore_X_Event_Ping; 348Ecore_X_Event_Window_Prop_Visible_Title_Change;
347typedef struct _Ecore_X_Event_Desktop_Change Ecore_X_Event_Desktop_Change; 349typedef struct _Ecore_X_Event_Window_Prop_Icon_Name_Change
348 350Ecore_X_Event_Window_Prop_Icon_Name_Change;
349typedef struct _Ecore_X_Event_Startup_Sequence Ecore_X_Event_Startup_Sequence; 351typedef struct _Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change
350 352Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change;
351typedef struct _Ecore_X_Event_Generic Ecore_X_Event_Generic; 353typedef struct _Ecore_X_Event_Window_Prop_Client_Machine_Change
354Ecore_X_Event_Window_Prop_Client_Machine_Change;
355typedef struct _Ecore_X_Event_Window_Prop_Name_Class_Change
356Ecore_X_Event_Window_Prop_Name_Class_Change;
357typedef struct _Ecore_X_Event_Window_Prop_Pid_Change
358Ecore_X_Event_Window_Prop_Pid_Change;
359typedef struct _Ecore_X_Event_Window_Prop_Desktop_Change
360Ecore_X_Event_Window_Prop_Desktop_Change;
361
362typedef struct _Ecore_X_Event_Window_Move_Resize_Request
363Ecore_X_Event_Window_Move_Resize_Request;
364typedef struct _Ecore_X_Event_Window_State_Request
365Ecore_X_Event_Window_State_Request;
366typedef struct _Ecore_X_Event_Frame_Extents_Request
367Ecore_X_Event_Frame_Extents_Request;
368typedef struct _Ecore_X_Event_Ping Ecore_X_Event_Ping;
369typedef struct _Ecore_X_Event_Desktop_Change Ecore_X_Event_Desktop_Change;
370
371typedef struct _Ecore_X_Event_Startup_Sequence Ecore_X_Event_Startup_Sequence;
372
373typedef struct _Ecore_X_Event_Generic Ecore_X_Event_Generic;
352 374
353struct _Ecore_X_Event_Mouse_In 375struct _Ecore_X_Event_Mouse_In
354{ 376{
355 int modifiers; 377 int modifiers;
356 int x, y; 378 int x, y;
357 int same_screen; 379 int same_screen;
358 struct { 380 struct
359 int x, y; 381 {
382 int x, y;
360 } root; 383 } root;
361 Ecore_X_Window win; 384 Ecore_X_Window win;
362 Ecore_X_Window event_win; 385 Ecore_X_Window event_win;
363 Ecore_X_Window root_win; 386 Ecore_X_Window root_win;
364 Ecore_X_Event_Mode mode; 387 Ecore_X_Event_Mode mode;
365 Ecore_X_Event_Detail detail; 388 Ecore_X_Event_Detail detail;
366 Ecore_X_Time time; 389 Ecore_X_Time time;
367}; 390};
368 391
369struct _Ecore_X_Event_Mouse_Out 392struct _Ecore_X_Event_Mouse_Out
370{ 393{
371 int modifiers; 394 int modifiers;
372 int x, y; 395 int x, y;
373 int same_screen; 396 int same_screen;
374 struct { 397 struct
375 int x, y; 398 {
399 int x, y;
376 } root; 400 } root;
377 Ecore_X_Window win; 401 Ecore_X_Window win;
378 Ecore_X_Window event_win; 402 Ecore_X_Window event_win;
379 Ecore_X_Window root_win; 403 Ecore_X_Window root_win;
380 Ecore_X_Event_Mode mode; 404 Ecore_X_Event_Mode mode;
381 Ecore_X_Event_Detail detail; 405 Ecore_X_Event_Detail detail;
382 Ecore_X_Time time; 406 Ecore_X_Time time;
383}; 407};
384 408
385struct _Ecore_X_Event_Window_Focus_In 409struct _Ecore_X_Event_Window_Focus_In
386{ 410{
387 Ecore_X_Window win; 411 Ecore_X_Window win;
388 Ecore_X_Event_Mode mode; 412 Ecore_X_Event_Mode mode;
389 Ecore_X_Event_Detail detail; 413 Ecore_X_Event_Detail detail;
390 Ecore_X_Time time; 414 Ecore_X_Time time;
391}; 415};
392 416
393struct _Ecore_X_Event_Window_Focus_Out 417struct _Ecore_X_Event_Window_Focus_Out
394{ 418{
395 Ecore_X_Window win; 419 Ecore_X_Window win;
396 Ecore_X_Event_Mode mode; 420 Ecore_X_Event_Mode mode;
397 Ecore_X_Event_Detail detail; 421 Ecore_X_Event_Detail detail;
398 Ecore_X_Time time; 422 Ecore_X_Time time;
399}; 423};
400 424
401struct _Ecore_X_Event_Window_Keymap 425struct _Ecore_X_Event_Window_Keymap
402{ 426{
403 Ecore_X_Window win; 427 Ecore_X_Window win;
404}; 428};
405 429
406struct _Ecore_X_Event_Window_Damage 430struct _Ecore_X_Event_Window_Damage
407{ 431{
408 Ecore_X_Window win; 432 Ecore_X_Window win;
409 int x, y, w, h; 433 int x, y, w, h;
410 int count; 434 int count;
411 Ecore_X_Time time; 435 Ecore_X_Time time;
412}; 436};
413 437
414struct _Ecore_X_Event_Window_Visibility_Change 438struct _Ecore_X_Event_Window_Visibility_Change
415{ 439{
416 Ecore_X_Window win; 440 Ecore_X_Window win;
417 int fully_obscured; 441 int fully_obscured;
418 Ecore_X_Time time; 442 Ecore_X_Time time;
419}; 443};
420 444
421struct _Ecore_X_Event_Window_Create 445struct _Ecore_X_Event_Window_Create
422{ 446{
423 Ecore_X_Window win; 447 Ecore_X_Window win;
424 Ecore_X_Window parent; 448 Ecore_X_Window parent;
425 int override; 449 int override;
426 int x, y, w, h; 450 int x, y, w, h;
427 int border; 451 int border;
428 Ecore_X_Time time; 452 Ecore_X_Time time;
429}; 453};
430 454
431struct _Ecore_X_Event_Window_Destroy 455struct _Ecore_X_Event_Window_Destroy
432{ 456{
433 Ecore_X_Window win; 457 Ecore_X_Window win;
434 Ecore_X_Window event_win; 458 Ecore_X_Window event_win;
435 Ecore_X_Time time; 459 Ecore_X_Time time;
436}; 460};
437 461
438struct _Ecore_X_Event_Window_Hide 462struct _Ecore_X_Event_Window_Hide
439{ 463{
440 Ecore_X_Window win; 464 Ecore_X_Window win;
441 Ecore_X_Window event_win; 465 Ecore_X_Window event_win;
442 Ecore_X_Time time; 466 Ecore_X_Time time;
443}; 467};
444 468
445struct _Ecore_X_Event_Window_Show 469struct _Ecore_X_Event_Window_Show
446{ 470{
447 Ecore_X_Window win; 471 Ecore_X_Window win;
448 Ecore_X_Window event_win; 472 Ecore_X_Window event_win;
449 Ecore_X_Time time; 473 Ecore_X_Time time;
450}; 474};
451 475
452struct _Ecore_X_Event_Window_Show_Request 476struct _Ecore_X_Event_Window_Show_Request
453{ 477{
454 Ecore_X_Window win; 478 Ecore_X_Window win;
455 Ecore_X_Window parent; 479 Ecore_X_Window parent;
456 Ecore_X_Time time; 480 Ecore_X_Time time;
457}; 481};
458 482
459struct _Ecore_X_Event_Window_Reparent 483struct _Ecore_X_Event_Window_Reparent
460{ 484{
461 Ecore_X_Window win; 485 Ecore_X_Window win;
462 Ecore_X_Window event_win; 486 Ecore_X_Window event_win;
463 Ecore_X_Window parent; 487 Ecore_X_Window parent;
464 Ecore_X_Time time; 488 Ecore_X_Time time;
465}; 489};
466 490
467struct _Ecore_X_Event_Window_Configure 491struct _Ecore_X_Event_Window_Configure
468{ 492{
469 Ecore_X_Window win; 493 Ecore_X_Window win;
470 Ecore_X_Window event_win; 494 Ecore_X_Window event_win;
471 Ecore_X_Window abovewin; 495 Ecore_X_Window abovewin;
472 int x, y, w, h; 496 int x, y, w, h;
473 int border; 497 int border;
474 unsigned int override : 1; 498 unsigned int override : 1;
475 unsigned int from_wm : 1; 499 unsigned int from_wm : 1;
476 Ecore_X_Time time; 500 Ecore_X_Time time;
477}; 501};
478 502
479struct _Ecore_X_Event_Window_Configure_Request 503struct _Ecore_X_Event_Window_Configure_Request
480{ 504{
481 Ecore_X_Window win; 505 Ecore_X_Window win;
482 Ecore_X_Window parent_win; 506 Ecore_X_Window parent_win;
483 Ecore_X_Window abovewin; 507 Ecore_X_Window abovewin;
484 int x, y, w, h; 508 int x, y, w, h;
485 int border; 509 int border;
486 Ecore_X_Window_Stack_Mode detail; 510 Ecore_X_Window_Stack_Mode detail;
487 unsigned long value_mask; 511 unsigned long value_mask;
488 Ecore_X_Time time; 512 Ecore_X_Time time;
489}; 513};
490 514
491struct _Ecore_X_Event_Window_Gravity 515struct _Ecore_X_Event_Window_Gravity
492{ 516{
493 Ecore_X_Window win; 517 Ecore_X_Window win;
494 Ecore_X_Window event_win; 518 Ecore_X_Window event_win;
495 Ecore_X_Time time; 519 Ecore_X_Time time;
496}; 520};
497 521
498struct _Ecore_X_Event_Window_Resize_Request 522struct _Ecore_X_Event_Window_Resize_Request
499{ 523{
500 Ecore_X_Window win; 524 Ecore_X_Window win;
501 int w, h; 525 int w, h;
502 Ecore_X_Time time; 526 Ecore_X_Time time;
503}; 527};
504 528
505struct _Ecore_X_Event_Window_Stack 529struct _Ecore_X_Event_Window_Stack
506{ 530{
507 Ecore_X_Window win; 531 Ecore_X_Window win;
508 Ecore_X_Window event_win; 532 Ecore_X_Window event_win;
509 Ecore_X_Window_Stack_Mode detail; 533 Ecore_X_Window_Stack_Mode detail;
510 Ecore_X_Time time; 534 Ecore_X_Time time;
511}; 535};
512 536
513struct _Ecore_X_Event_Window_Stack_Request 537struct _Ecore_X_Event_Window_Stack_Request
514{ 538{
515 Ecore_X_Window win; 539 Ecore_X_Window win;
516 Ecore_X_Window parent; 540 Ecore_X_Window parent;
517 Ecore_X_Window_Stack_Mode detail; 541 Ecore_X_Window_Stack_Mode detail;
518 Ecore_X_Time time; 542 Ecore_X_Time time;
519}; 543};
520 544
521struct _Ecore_X_Event_Window_Property 545struct _Ecore_X_Event_Window_Property
522{ 546{
523 Ecore_X_Window win; 547 Ecore_X_Window win;
524 Ecore_X_Atom atom; 548 Ecore_X_Atom atom;
525 Ecore_X_Time time; 549 Ecore_X_Time time;
526}; 550};
527 551
528struct _Ecore_X_Event_Window_Colormap 552struct _Ecore_X_Event_Window_Colormap
529{ 553{
530 Ecore_X_Window win; 554 Ecore_X_Window win;
531 Ecore_X_Colormap cmap; 555 Ecore_X_Colormap cmap;
532 int installed; 556 int installed;
533 Ecore_X_Time time; 557 Ecore_X_Time time;
534}; 558};
535 559
536struct _Ecore_X_Event_Selection_Clear 560struct _Ecore_X_Event_Selection_Clear
537{ 561{
538 Ecore_X_Window win; 562 Ecore_X_Window win;
539 Ecore_X_Selection selection; 563 Ecore_X_Selection selection;
540 Ecore_X_Atom atom; 564 Ecore_X_Atom atom;
541 Ecore_X_Time time; 565 Ecore_X_Time time;
542}; 566};
543 567
544struct _Ecore_X_Event_Selection_Request 568struct _Ecore_X_Event_Selection_Request
545{ 569{
546 Ecore_X_Window owner; 570 Ecore_X_Window owner;
547 Ecore_X_Window requestor; 571 Ecore_X_Window requestor;
548 Ecore_X_Time time; 572 Ecore_X_Time time;
549 Ecore_X_Atom selection; 573 Ecore_X_Atom selection;
550 Ecore_X_Atom target; 574 Ecore_X_Atom target;
551 Ecore_X_Atom property; 575 Ecore_X_Atom property;
552}; 576};
553 577
554struct _Ecore_X_Event_Selection_Notify 578struct _Ecore_X_Event_Selection_Notify
555{ 579{
556 Ecore_X_Window win; 580 Ecore_X_Window win;
557 Ecore_X_Time time; 581 Ecore_X_Time time;
558 Ecore_X_Selection selection; 582 Ecore_X_Selection selection;
559 Ecore_X_Atom atom; 583 Ecore_X_Atom atom;
560 char *target; 584 char *target;
561 void *data; 585 void *data;
562}; 586};
563 587
564struct _Ecore_X_Selection_Data 588struct _Ecore_X_Selection_Data
565{ 589{
566 enum { 590 enum {
567 ECORE_X_SELECTION_CONTENT_NONE, 591 ECORE_X_SELECTION_CONTENT_NONE,
568 ECORE_X_SELECTION_CONTENT_TEXT, 592 ECORE_X_SELECTION_CONTENT_TEXT,
569 ECORE_X_SELECTION_CONTENT_FILES, 593 ECORE_X_SELECTION_CONTENT_FILES,
570 ECORE_X_SELECTION_CONTENT_TARGETS, 594 ECORE_X_SELECTION_CONTENT_TARGETS,
571 ECORE_X_SELECTION_CONTENT_CUSTOM 595 ECORE_X_SELECTION_CONTENT_CUSTOM
572 } content; 596 } content;
573 unsigned char *data; 597 unsigned char *data;
574 int length; 598 int length;
575 int format; 599 int format;
576 600
577 int (*free)(void *data); 601 int (*free)(void *data);
578}; 602};
579 603
580struct _Ecore_X_Selection_Data_Files 604struct _Ecore_X_Selection_Data_Files
581{ 605{
582 Ecore_X_Selection_Data data; 606 Ecore_X_Selection_Data data;
583 char **files; 607 char **files;
584 int num_files; 608 int num_files;
585}; 609};
586 610
587struct _Ecore_X_Selection_Data_Text 611struct _Ecore_X_Selection_Data_Text
588{ 612{
589 Ecore_X_Selection_Data data; 613 Ecore_X_Selection_Data data;
590 char *text; 614 char *text;
591}; 615};
592 616
593struct _Ecore_X_Selection_Data_Targets 617struct _Ecore_X_Selection_Data_Targets
594{ 618{
595 Ecore_X_Selection_Data data; 619 Ecore_X_Selection_Data data;
596 char **targets; 620 char **targets;
597 int num_targets; 621 int num_targets;
598}; 622};
599 623
600struct _Ecore_X_Event_Xdnd_Enter 624struct _Ecore_X_Event_Xdnd_Enter
601{ 625{
602 Ecore_X_Window win, source; 626 Ecore_X_Window win, source;
603 627
604 char **types; 628 char **types;
605 int num_types; 629 int num_types;
606}; 630};
607 631
608struct _Ecore_X_Event_Xdnd_Position 632struct _Ecore_X_Event_Xdnd_Position
609{ 633{
610 Ecore_X_Window win, source; 634 Ecore_X_Window win, source;
611 struct { 635 struct
636 {
612 int x, y; 637 int x, y;
613 } position; 638 } position;
614 Ecore_X_Atom action; 639 Ecore_X_Atom action;
615}; 640};
616 641
617struct _Ecore_X_Event_Xdnd_Status 642struct _Ecore_X_Event_Xdnd_Status
618{ 643{
619 Ecore_X_Window win, target; 644 Ecore_X_Window win, target;
620 int will_accept; 645 int will_accept;
621 Ecore_X_Rectangle rectangle; 646 Ecore_X_Rectangle rectangle;
622 Ecore_X_Atom action; 647 Ecore_X_Atom action;
623}; 648};
624 649
625struct _Ecore_X_Event_Xdnd_Leave 650struct _Ecore_X_Event_Xdnd_Leave
626{ 651{
627 Ecore_X_Window win, source; 652 Ecore_X_Window win, source;
628}; 653};
629 654
630struct _Ecore_X_Event_Xdnd_Drop 655struct _Ecore_X_Event_Xdnd_Drop
631{ 656{
632 Ecore_X_Window win, source; 657 Ecore_X_Window win, source;
633 Ecore_X_Atom action; 658 Ecore_X_Atom action;
634 struct { 659 struct
660 {
635 int x, y; 661 int x, y;
636 } position; 662 } position;
637}; 663};
638 664
639struct _Ecore_X_Event_Xdnd_Finished 665struct _Ecore_X_Event_Xdnd_Finished
640{ 666{
641 Ecore_X_Window win, target; 667 Ecore_X_Window win, target;
642 int completed; 668 int completed;
643 Ecore_X_Atom action; 669 Ecore_X_Atom action;
644}; 670};
645 671
646struct _Ecore_X_Event_Client_Message 672struct _Ecore_X_Event_Client_Message
647{ 673{
648 Ecore_X_Window win; 674 Ecore_X_Window win;
649 Ecore_X_Atom message_type; 675 Ecore_X_Atom message_type;
650 int format; 676 int format;
651 union { 677 union {
652 char b[20]; 678 char b[20];
653 short s[10]; 679 short s[10];
654 long l[5]; 680 long l[5];
655 } data; 681 } data;
656 Ecore_X_Time time; 682 Ecore_X_Time time;
657}; 683};
658 684
659struct _Ecore_X_Event_Window_Shape 685struct _Ecore_X_Event_Window_Shape
660{ 686{
661 Ecore_X_Window win; 687 Ecore_X_Window win;
662 Ecore_X_Time time; 688 Ecore_X_Time time;
663}; 689};
664 690
665struct _Ecore_X_Event_Screensaver_Notify 691struct _Ecore_X_Event_Screensaver_Notify
666{ 692{
667 Ecore_X_Window win; 693 Ecore_X_Window win;
668 int on; 694 int on;
669 Ecore_X_Time time; 695 Ecore_X_Time time;
670}; 696};
671 697
672struct _Ecore_X_Event_Sync_Counter 698struct _Ecore_X_Event_Sync_Counter
673{ 699{
674 Ecore_X_Time time; 700 Ecore_X_Time time;
675}; 701};
676 702
677struct _Ecore_X_Event_Sync_Alarm 703struct _Ecore_X_Event_Sync_Alarm
678{ 704{
679 Ecore_X_Time time; 705 Ecore_X_Time time;
680 Ecore_X_Sync_Alarm alarm; 706 Ecore_X_Sync_Alarm alarm;
681}; 707};
682 708
683struct _Ecore_X_Event_Screen_Change 709struct _Ecore_X_Event_Screen_Change
684{ 710{
685 Ecore_X_Window win; 711 Ecore_X_Window win;
686 Ecore_X_Window root; 712 Ecore_X_Window root;
687 int width; 713 int width;
688 int height; 714 int height;
689 Ecore_X_Time time; 715 Ecore_X_Time time;
690 Ecore_X_Time config_time; 716 Ecore_X_Time config_time;
691 int mm_width; /* in millimeters */ 717 int mm_width; /* in millimeters */
692 int mm_height; /* in millimeters */ 718 int mm_height; /* in millimeters */
693 Ecore_X_Randr_Rotation rotation; 719 Ecore_X_Randr_Rotation rotation;
694 Ecore_X_Render_Subpixel_Order subpixel_order; 720 Ecore_X_Render_Subpixel_Order subpixel_order;
695 Ecore_X_Randr_Size_ID size_id; 721 Ecore_X_Randr_Size_ID size_id;
696}; 722};
697 723
698struct _Ecore_X_Event_Randr_Crtc_Change 724struct _Ecore_X_Event_Randr_Crtc_Change
699{ 725{
700 Ecore_X_Window win; 726 Ecore_X_Window win;
701 Ecore_X_Randr_Crtc crtc; 727 Ecore_X_Randr_Crtc crtc;
702 Ecore_X_Randr_Mode mode; 728 Ecore_X_Randr_Mode mode;
703 Ecore_X_Randr_Rotation rotation; 729 Ecore_X_Randr_Rotation rotation;
704 int x; 730 int x;
705 int y; 731 int y;
706 int width; 732 int width;
707 int height; 733 int height;
708}; 734};
709 735
710struct _Ecore_X_Event_Randr_Output_Change 736struct _Ecore_X_Event_Randr_Output_Change
711{ 737{
712 Ecore_X_Window win; 738 Ecore_X_Window win;
713 Ecore_X_Randr_Output output; 739 Ecore_X_Randr_Output output;
714 Ecore_X_Randr_Crtc crtc; 740 Ecore_X_Randr_Crtc crtc;
715 Ecore_X_Randr_Mode mode; 741 Ecore_X_Randr_Mode mode;
716 Ecore_X_Randr_Rotation rotation; 742 Ecore_X_Randr_Rotation rotation;
717 Ecore_X_Randr_Connection connection; 743 Ecore_X_Randr_Connection connection;
718 Ecore_X_Render_Subpixel_Order subpixel_order; 744 Ecore_X_Render_Subpixel_Order subpixel_order;
719}; 745};
720 746
721struct _Ecore_X_Event_Randr_Output_Property_Notify 747struct _Ecore_X_Event_Randr_Output_Property_Notify
722{ 748{
723 Ecore_X_Window win; 749 Ecore_X_Window win;
724 Ecore_X_Randr_Output output; 750 Ecore_X_Randr_Output output;
725 Ecore_X_Atom property; 751 Ecore_X_Atom property;
726 Ecore_X_Time time; 752 Ecore_X_Time time;
727 int state; /* NewValue, Deleted */ 753 int state; /* NewValue, Deleted */
728}; 754};
729 755
730struct _Ecore_X_Event_Window_Delete_Request 756struct _Ecore_X_Event_Window_Delete_Request
731{ 757{
732 Ecore_X_Window win; 758 Ecore_X_Window win;
733 Ecore_X_Time time; 759 Ecore_X_Time time;
734}; 760};
735 761
736struct _Ecore_X_Event_Window_Prop_Title_Change 762struct _Ecore_X_Event_Window_Prop_Title_Change
737{ 763{
738 Ecore_X_Window win; 764 Ecore_X_Window win;
739 char *title; 765 char *title;
740 Ecore_X_Time time; 766 Ecore_X_Time time;
741}; 767};
742 768
743struct _Ecore_X_Event_Window_Prop_Visible_Title_Change 769struct _Ecore_X_Event_Window_Prop_Visible_Title_Change
744{ 770{
745 Ecore_X_Window win; 771 Ecore_X_Window win;
746 char *title; 772 char *title;
747 Ecore_X_Time time; 773 Ecore_X_Time time;
748}; 774};
749 775
750struct _Ecore_X_Event_Window_Prop_Icon_Name_Change 776struct _Ecore_X_Event_Window_Prop_Icon_Name_Change
751{ 777{
752 Ecore_X_Window win; 778 Ecore_X_Window win;
753 char *name; 779 char *name;
754 Ecore_X_Time time; 780 Ecore_X_Time time;
755}; 781};
756 782
757struct _Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change 783struct _Ecore_X_Event_Window_Prop_Visible_Icon_Name_Change
758{ 784{
759 Ecore_X_Window win; 785 Ecore_X_Window win;
760 char *name; 786 char *name;
761 Ecore_X_Time time; 787 Ecore_X_Time time;
762}; 788};
763 789
764struct _Ecore_X_Event_Window_Prop_Client_Machine_Change 790struct _Ecore_X_Event_Window_Prop_Client_Machine_Change
765{ 791{
766 Ecore_X_Window win; 792 Ecore_X_Window win;
767 char *name; 793 char *name;
768 Ecore_X_Time time; 794 Ecore_X_Time time;
769}; 795};
770 796
771struct _Ecore_X_Event_Window_Prop_Name_Class_Change 797struct _Ecore_X_Event_Window_Prop_Name_Class_Change
772{ 798{
773 Ecore_X_Window win; 799 Ecore_X_Window win;
774 char *name; 800 char *name;
775 char *clas; 801 char *clas;
776 Ecore_X_Time time; 802 Ecore_X_Time time;
777}; 803};
778 804
779struct _Ecore_X_Event_Window_Prop_Pid_Change 805struct _Ecore_X_Event_Window_Prop_Pid_Change
780{ 806{
781 Ecore_X_Window win; 807 Ecore_X_Window win;
782 pid_t pid; 808 pid_t pid;
783 Ecore_X_Time time; 809 Ecore_X_Time time;
784}; 810};
785 811
786struct _Ecore_X_Event_Window_Prop_Desktop_Change 812struct _Ecore_X_Event_Window_Prop_Desktop_Change
787{ 813{
788 Ecore_X_Window win; 814 Ecore_X_Window win;
789 long desktop; 815 long desktop;
790 Ecore_X_Time time; 816 Ecore_X_Time time;
791}; 817};
792 818
793struct _Ecore_X_Event_Startup_Sequence 819struct _Ecore_X_Event_Startup_Sequence
794{ 820{
795 Ecore_X_Window win; 821 Ecore_X_Window win;
796}; 822};
797 823
798struct _Ecore_X_Event_Window_Move_Resize_Request 824struct _Ecore_X_Event_Window_Move_Resize_Request
799{ 825{
800 Ecore_X_Window win; 826 Ecore_X_Window win;
801 int x, y; 827 int x, y;
802 int direction; 828 int direction;
803 int button; 829 int button;
804 int source; 830 int source;
805}; 831};
806 832
807struct _Ecore_X_Event_Window_State_Request 833struct _Ecore_X_Event_Window_State_Request
808{ 834{
809 Ecore_X_Window win; 835 Ecore_X_Window win;
810 Ecore_X_Window_State_Action action; 836 Ecore_X_Window_State_Action action;
811 Ecore_X_Window_State state[2]; 837 Ecore_X_Window_State state[2];
812 int source; 838 int source;
813}; 839};
814 840
815struct _Ecore_X_Event_Frame_Extents_Request 841struct _Ecore_X_Event_Frame_Extents_Request
816{ 842{
817 Ecore_X_Window win; 843 Ecore_X_Window win;
818}; 844};
819 845
820struct _Ecore_X_Event_Ping 846struct _Ecore_X_Event_Ping
821{ 847{
822 Ecore_X_Window win; 848 Ecore_X_Window win;
823 Ecore_X_Window event_win; 849 Ecore_X_Window event_win;
824 Ecore_X_Time time; 850 Ecore_X_Time time;
825}; 851};
826 852
827struct _Ecore_X_Event_Desktop_Change 853struct _Ecore_X_Event_Desktop_Change
828{ 854{
829 Ecore_X_Window win; 855 Ecore_X_Window win;
830 unsigned int desk; 856 unsigned int desk;
831 int source; 857 int source;
832}; 858};
833 859
834struct _Ecore_X_Event_Generic 860struct _Ecore_X_Event_Generic
835{ 861{
836 int extension; 862 int extension;
837 int evtype; 863 int evtype;
838 unsigned int cookie; 864 unsigned int cookie;
839 void *data; 865 void *data;
840}; 866};
841 867
842EAPI extern int ECORE_X_EVENT_ANY; /**< low level event dependent on 868EAPI extern int ECORE_X_EVENT_ANY; /**< low level event dependent on
843 backend in use, if Xlib will be XEvent, 869 backend in use, if Xlib will be XEvent,
844 if XCB will be xcb_generic_event_t. 870 if XCB will be xcb_generic_event_t.
845 @warning avoid using it. 871 @warning avoid using it.
846 */ 872 */
847EAPI extern int ECORE_X_EVENT_MOUSE_IN; 873EAPI extern int ECORE_X_EVENT_MOUSE_IN;
848EAPI extern int ECORE_X_EVENT_MOUSE_OUT; 874EAPI extern int ECORE_X_EVENT_MOUSE_OUT;
849EAPI extern int ECORE_X_EVENT_WINDOW_FOCUS_IN; 875EAPI extern int ECORE_X_EVENT_WINDOW_FOCUS_IN;
@@ -882,15 +908,15 @@ EAPI extern int ECORE_X_EVENT_DAMAGE_NOTIFY;
882 908
883EAPI extern int ECORE_X_EVENT_WINDOW_DELETE_REQUEST; 909EAPI extern int ECORE_X_EVENT_WINDOW_DELETE_REQUEST;
884/* 910/*
885EAPI extern int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE; 911 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_TITLE_CHANGE;
886EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE; 912 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_TITLE_CHANGE;
887EAPI extern int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE; 913 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_ICON_NAME_CHANGE;
888EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE; 914 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_VISIBLE_ICON_NAME_CHANGE;
889EAPI extern int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE; 915 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_CLIENT_MACHINE_CHANGE;
890EAPI extern int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE; 916 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_NAME_CLASS_CHANGE;
891EAPI extern int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE; 917 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_PID_CHANGE;
892EAPI extern int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE; 918 EAPI extern int ECORE_X_EVENT_WINDOW_PROP_DESKTOP_CHANGE;
893*/ 919 */
894 920
895EAPI extern int ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST; 921EAPI extern int ECORE_X_EVENT_WINDOW_MOVE_RESIZE_REQUEST;
896EAPI extern int ECORE_X_EVENT_WINDOW_STATE_REQUEST; 922EAPI extern int ECORE_X_EVENT_WINDOW_STATE_REQUEST;
@@ -915,7 +941,7 @@ EAPI extern int ECORE_X_LOCK_SCROLL;
915EAPI extern int ECORE_X_LOCK_NUM; 941EAPI extern int ECORE_X_LOCK_NUM;
916EAPI extern int ECORE_X_LOCK_CAPS; 942EAPI extern int ECORE_X_LOCK_CAPS;
917 943
918typedef enum _Ecore_X_WM_Protocol 944typedef enum _Ecore_X_WM_Protocol
919{ 945{
920 /* If enabled the window manager will be asked to send a 946 /* If enabled the window manager will be asked to send a
921 * delete message instead of just closing (destroying) the window. */ 947 * delete message instead of just closing (destroying) the window. */
@@ -937,7 +963,7 @@ typedef enum _Ecore_X_WM_Protocol
937 ECORE_X_WM_PROTOCOL_NUM 963 ECORE_X_WM_PROTOCOL_NUM
938} Ecore_X_WM_Protocol; 964} Ecore_X_WM_Protocol;
939 965
940typedef enum _Ecore_X_Window_Input_Mode 966typedef enum _Ecore_X_Window_Input_Mode
941{ 967{
942 /* The window can never be focused */ 968 /* The window can never be focused */
943 ECORE_X_WINDOW_INPUT_MODE_NONE, 969 ECORE_X_WINDOW_INPUT_MODE_NONE,
@@ -954,7 +980,7 @@ typedef enum _Ecore_X_Window_Input_Mode
954 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_GLOBAL 980 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_GLOBAL
955} Ecore_X_Window_Input_Mode; 981} Ecore_X_Window_Input_Mode;
956 982
957typedef enum _Ecore_X_Window_State_Hint 983typedef enum _Ecore_X_Window_State_Hint
958{ 984{
959 /** Do not provide any state hint to the window manager */ 985 /** Do not provide any state hint to the window manager */
960 ECORE_X_WINDOW_STATE_HINT_NONE = -1, 986 ECORE_X_WINDOW_STATE_HINT_NONE = -1,
@@ -969,26 +995,26 @@ typedef enum _Ecore_X_Window_State_Hint
969 ECORE_X_WINDOW_STATE_HINT_ICONIC 995 ECORE_X_WINDOW_STATE_HINT_ICONIC
970} Ecore_X_Window_State_Hint; 996} Ecore_X_Window_State_Hint;
971 997
972typedef enum _Ecore_X_Window_Type 998typedef enum _Ecore_X_Window_Type
973{ 999{
974 ECORE_X_WINDOW_TYPE_UNKNOWN = 0, 1000 ECORE_X_WINDOW_TYPE_UNKNOWN = 0,
975 ECORE_X_WINDOW_TYPE_DESKTOP, 1001 ECORE_X_WINDOW_TYPE_DESKTOP,
976 ECORE_X_WINDOW_TYPE_DOCK, 1002 ECORE_X_WINDOW_TYPE_DOCK,
977 ECORE_X_WINDOW_TYPE_TOOLBAR, 1003 ECORE_X_WINDOW_TYPE_TOOLBAR,
978 ECORE_X_WINDOW_TYPE_MENU, 1004 ECORE_X_WINDOW_TYPE_MENU,
979 ECORE_X_WINDOW_TYPE_UTILITY, 1005 ECORE_X_WINDOW_TYPE_UTILITY,
980 ECORE_X_WINDOW_TYPE_SPLASH, 1006 ECORE_X_WINDOW_TYPE_SPLASH,
981 ECORE_X_WINDOW_TYPE_DIALOG, 1007 ECORE_X_WINDOW_TYPE_DIALOG,
982 ECORE_X_WINDOW_TYPE_NORMAL, 1008 ECORE_X_WINDOW_TYPE_NORMAL,
983 ECORE_X_WINDOW_TYPE_DROPDOWN_MENU, 1009 ECORE_X_WINDOW_TYPE_DROPDOWN_MENU,
984 ECORE_X_WINDOW_TYPE_POPUP_MENU, 1010 ECORE_X_WINDOW_TYPE_POPUP_MENU,
985 ECORE_X_WINDOW_TYPE_TOOLTIP, 1011 ECORE_X_WINDOW_TYPE_TOOLTIP,
986 ECORE_X_WINDOW_TYPE_NOTIFICATION, 1012 ECORE_X_WINDOW_TYPE_NOTIFICATION,
987 ECORE_X_WINDOW_TYPE_COMBO, 1013 ECORE_X_WINDOW_TYPE_COMBO,
988 ECORE_X_WINDOW_TYPE_DND 1014 ECORE_X_WINDOW_TYPE_DND
989} Ecore_X_Window_Type; 1015} Ecore_X_Window_Type;
990 1016
991typedef enum _Ecore_X_Action 1017typedef enum _Ecore_X_Action
992{ 1018{
993 ECORE_X_ACTION_MOVE, 1019 ECORE_X_ACTION_MOVE,
994 ECORE_X_ACTION_RESIZE, 1020 ECORE_X_ACTION_RESIZE,
@@ -1004,7 +1030,7 @@ typedef enum _Ecore_X_Action
1004 ECORE_X_ACTION_BELOW 1030 ECORE_X_ACTION_BELOW
1005} Ecore_X_Action; 1031} Ecore_X_Action;
1006 1032
1007typedef enum _Ecore_X_Window_Configure_Mask 1033typedef enum _Ecore_X_Window_Configure_Mask
1008{ 1034{
1009 ECORE_X_WINDOW_CONFIGURE_MASK_X = (1 << 0), 1035 ECORE_X_WINDOW_CONFIGURE_MASK_X = (1 << 0),
1010 ECORE_X_WINDOW_CONFIGURE_MASK_Y = (1 << 1), 1036 ECORE_X_WINDOW_CONFIGURE_MASK_Y = (1 << 1),
@@ -1015,7 +1041,7 @@ typedef enum _Ecore_X_Window_Configure_Mask
1015 ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE = (1 << 6) 1041 ECORE_X_WINDOW_CONFIGURE_MASK_STACK_MODE = (1 << 6)
1016} Ecore_X_Window_Configure_Mask; 1042} Ecore_X_Window_Configure_Mask;
1017 1043
1018typedef enum _Ecore_X_Virtual_Keyboard_State 1044typedef enum _Ecore_X_Virtual_Keyboard_State
1019{ 1045{
1020 ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN = 0, 1046 ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN = 0,
1021 ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF, 1047 ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF,
@@ -1035,18 +1061,18 @@ typedef enum _Ecore_X_Virtual_Keyboard_State
1035 ECORE_X_VIRTUAL_KEYBOARD_STATE_J2ME 1061 ECORE_X_VIRTUAL_KEYBOARD_STATE_J2ME
1036} Ecore_X_Virtual_Keyboard_State; 1062} Ecore_X_Virtual_Keyboard_State;
1037 1063
1038typedef enum _Ecore_X_Illume_Mode 1064typedef enum _Ecore_X_Illume_Mode
1039{ 1065{
1040 ECORE_X_ILLUME_MODE_UNKNOWN = 0, 1066 ECORE_X_ILLUME_MODE_UNKNOWN = 0,
1041 ECORE_X_ILLUME_MODE_SINGLE, 1067 ECORE_X_ILLUME_MODE_SINGLE,
1042 ECORE_X_ILLUME_MODE_DUAL_TOP, 1068 ECORE_X_ILLUME_MODE_DUAL_TOP,
1043 ECORE_X_ILLUME_MODE_DUAL_LEFT 1069 ECORE_X_ILLUME_MODE_DUAL_LEFT
1044} Ecore_X_Illume_Mode; 1070} Ecore_X_Illume_Mode;
1045 1071
1046typedef enum _Ecore_X_Illume_Quickpanel_State 1072typedef enum _Ecore_X_Illume_Quickpanel_State
1047{ 1073{
1048 ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN = 0, 1074 ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN = 0,
1049 ECORE_X_ILLUME_QUICKPANEL_STATE_OFF, 1075 ECORE_X_ILLUME_QUICKPANEL_STATE_OFF,
1050 ECORE_X_ILLUME_QUICKPANEL_STATE_ON 1076 ECORE_X_ILLUME_QUICKPANEL_STATE_ON
1051} Ecore_X_Illume_Quickpanel_State; 1077} Ecore_X_Illume_Quickpanel_State;
1052 1078
@@ -1060,367 +1086,697 @@ typedef enum _Ecore_X_Illume_Quickpanel_State
1060#define ECORE_X_PROP_LIST_ADD 1 1086#define ECORE_X_PROP_LIST_ADD 1
1061#define ECORE_X_PROP_LIST_TOGGLE 2 1087#define ECORE_X_PROP_LIST_TOGGLE 2
1062 1088
1063EAPI int ecore_x_init(const char *name); 1089EAPI int ecore_x_init(const char *name);
1064EAPI int ecore_x_shutdown(void); 1090EAPI int ecore_x_shutdown(void);
1065EAPI int ecore_x_disconnect(void); 1091EAPI int ecore_x_disconnect(void);
1066EAPI Ecore_X_Display *ecore_x_display_get(void); 1092EAPI Ecore_X_Display * ecore_x_display_get(void);
1067EAPI Ecore_X_Connection *ecore_x_connection_get(void); 1093EAPI Ecore_X_Connection *ecore_x_connection_get(void);
1068EAPI int ecore_x_fd_get(void); 1094EAPI int ecore_x_fd_get(void);
1069EAPI Ecore_X_Screen *ecore_x_default_screen_get(void); 1095EAPI Ecore_X_Screen * ecore_x_default_screen_get(void);
1070EAPI void ecore_x_double_click_time_set(double t); 1096EAPI void ecore_x_double_click_time_set(double t);
1071EAPI double ecore_x_double_click_time_get(void); 1097EAPI double ecore_x_double_click_time_get(void);
1072EAPI void ecore_x_flush(void); 1098EAPI void ecore_x_flush(void);
1073EAPI void ecore_x_sync(void); 1099EAPI void ecore_x_sync(void);
1074EAPI void ecore_x_killall(Ecore_X_Window root); 1100EAPI void ecore_x_killall(Ecore_X_Window root);
1075EAPI void ecore_x_kill(Ecore_X_Window win); 1101EAPI void ecore_x_kill(Ecore_X_Window win);
1076EAPI int ecore_x_dpi_get(void); 1102EAPI int ecore_x_dpi_get(void);
1077EAPI Eina_Bool ecore_x_bell(int percent); 1103EAPI Eina_Bool ecore_x_bell(int percent);
1078 1104
1079EAPI Ecore_X_Time ecore_x_current_time_get(void); 1105EAPI Ecore_X_Time ecore_x_current_time_get(void);
1080 1106
1081EAPI void ecore_x_error_handler_set(void (*func) (void *data), const void *data); 1107EAPI void ecore_x_error_handler_set(void (*func)(void *data), const void *data);
1082EAPI void ecore_x_io_error_handler_set(void (*func) (void *data), const void *data); 1108EAPI void ecore_x_io_error_handler_set(void (*func)(
1083EAPI int ecore_x_error_request_get(void); 1109 void *data), const void *data);
1084EAPI int ecore_x_error_code_get(void); 1110EAPI int ecore_x_error_request_get(void);
1085 1111EAPI int ecore_x_error_code_get(void);
1086EAPI void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask); 1112
1087EAPI void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask); 1113EAPI void ecore_x_event_mask_set(Ecore_X_Window w,
1088 1114 Ecore_X_Event_Mask mask);
1089EAPI int ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection, Ecore_X_Atom target, Ecore_X_Atom property, Ecore_X_Time time); 1115EAPI void ecore_x_event_mask_unset(Ecore_X_Window w,
1090EAPI void ecore_x_selection_primary_prefetch(void); 1116 Ecore_X_Event_Mask mask);
1091EAPI void ecore_x_selection_primary_fetch(void); 1117
1092EAPI int ecore_x_selection_primary_set(Ecore_X_Window w, const void *data, int size); 1118EAPI int ecore_x_selection_notify_send(Ecore_X_Window requestor,
1093EAPI int ecore_x_selection_primary_clear(void); 1119 Ecore_X_Atom selection,
1094EAPI void ecore_x_selection_secondary_prefetch(void); 1120 Ecore_X_Atom target,
1095EAPI void ecore_x_selection_secondary_fetch(void); 1121 Ecore_X_Atom property,
1096EAPI int ecore_x_selection_secondary_set(Ecore_X_Window w, const void *data, int size); 1122 Ecore_X_Time time);
1097EAPI int ecore_x_selection_secondary_clear(void); 1123EAPI void ecore_x_selection_primary_prefetch(void);
1098EAPI void ecore_x_selection_xdnd_prefetch(void); 1124EAPI void ecore_x_selection_primary_fetch(void);
1099EAPI void ecore_x_selection_xdnd_fetch(void); 1125EAPI int ecore_x_selection_primary_set(Ecore_X_Window w,
1100EAPI int ecore_x_selection_xdnd_set(Ecore_X_Window w, const void *data, int size); 1126 const void *data,
1101EAPI int ecore_x_selection_xdnd_clear(void); 1127 int size);
1102EAPI void ecore_x_selection_clipboard_prefetch(void); 1128EAPI int ecore_x_selection_primary_clear(void);
1103EAPI void ecore_x_selection_clipboard_fetch(void); 1129EAPI void ecore_x_selection_secondary_prefetch(void);
1104EAPI int ecore_x_selection_clipboard_set(Ecore_X_Window w, const void *data, int size); 1130EAPI void ecore_x_selection_secondary_fetch(void);
1105EAPI int ecore_x_selection_clipboard_clear(void); 1131EAPI int ecore_x_selection_secondary_set(Ecore_X_Window w,
1106EAPI void ecore_x_selection_primary_request(Ecore_X_Window w, const char *target); 1132 const void *data,
1107EAPI void ecore_x_selection_secondary_request(Ecore_X_Window w, const char *target); 1133 int size);
1108EAPI void ecore_x_selection_xdnd_request(Ecore_X_Window w, const char *target); 1134EAPI int ecore_x_selection_secondary_clear(void);
1109EAPI void ecore_x_selection_clipboard_request(Ecore_X_Window w, const char *target); 1135EAPI void ecore_x_selection_xdnd_prefetch(void);
1110EAPI int ecore_x_selection_convert(Ecore_X_Atom selection, Ecore_X_Atom target, void **data_ret, int *len, Ecore_X_Atom *targprop, int *targsize); 1136EAPI void ecore_x_selection_xdnd_fetch(void);
1111EAPI void ecore_x_selection_converter_add(char *target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *, int *)); 1137EAPI int ecore_x_selection_xdnd_set(Ecore_X_Window w,
1112EAPI void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, int (*func)(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *tprop, int *tsize)); 1138 const void *data,
1113EAPI void ecore_x_selection_converter_del(char *target); 1139 int size);
1114EAPI void ecore_x_selection_converter_atom_del(Ecore_X_Atom target); 1140EAPI int ecore_x_selection_xdnd_clear(void);
1115EAPI void ecore_x_selection_parser_add(const char *target, void *(*func)(const char *target, void *data, int size, int format)); 1141EAPI void ecore_x_selection_clipboard_prefetch(void);
1116EAPI void ecore_x_selection_parser_del(const char *target); 1142EAPI void ecore_x_selection_clipboard_fetch(void);
1117 1143EAPI int ecore_x_selection_clipboard_set(Ecore_X_Window w,
1118EAPI void ecore_x_dnd_aware_set(Ecore_X_Window win, int on); 1144 const void *data,
1119EAPI void ecore_x_dnd_version_get_prefetch(Ecore_X_Window window); 1145 int size);
1120EAPI void ecore_x_dnd_version_get_fetch(void); 1146EAPI int ecore_x_selection_clipboard_clear(void);
1121EAPI int ecore_x_dnd_version_get(Ecore_X_Window win); 1147EAPI void ecore_x_selection_primary_request(Ecore_X_Window w,
1122EAPI void ecore_x_dnd_type_get_prefetch(Ecore_X_Window window); 1148 const char *target);
1123EAPI void ecore_x_dnd_type_get_fetch(void); 1149EAPI void ecore_x_selection_secondary_request(Ecore_X_Window w,
1124EAPI int ecore_x_dnd_type_isset(Ecore_X_Window win, const char *type); 1150 const char *target);
1125EAPI void ecore_x_dnd_type_set(Ecore_X_Window win, const char *type, int on); 1151EAPI void ecore_x_selection_xdnd_request(Ecore_X_Window w,
1126EAPI void ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types); 1152 const char *target);
1127EAPI void ecore_x_dnd_actions_set(Ecore_X_Window win, Ecore_X_Atom *actions, unsigned int num_actions); 1153EAPI void ecore_x_selection_clipboard_request(Ecore_X_Window w,
1128EAPI void ecore_x_dnd_begin_prefetch(Ecore_X_Window source); 1154 const char *target);
1129EAPI void ecore_x_dnd_begin_fetch(void); 1155EAPI int ecore_x_selection_convert(Ecore_X_Atom selection,
1130EAPI int ecore_x_dnd_begin(Ecore_X_Window source, unsigned char *data, int size); 1156 Ecore_X_Atom target,
1131EAPI int ecore_x_dnd_drop(void); 1157 void **data_ret,
1132EAPI void ecore_x_dnd_send_status(int will_accept, int suppress, Ecore_X_Rectangle rectangle, Ecore_X_Atom action); 1158 int *len,
1133EAPI void ecore_x_dnd_send_finished(void); 1159 Ecore_X_Atom *targprop,
1134EAPI void ecore_x_dnd_source_action_set(Ecore_X_Atom action); 1160 int *targsize);
1135EAPI Ecore_X_Atom ecore_x_dnd_source_action_get(void); 1161EAPI void ecore_x_selection_converter_add(char *target, int (*func)(
1136 1162 char *target,
1137EAPI Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h); 1163 void *data,
1138EAPI Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h); 1164 int size,
1139EAPI int ecore_x_window_argb_get(Ecore_X_Window win); 1165 void **data_ret,
1140EAPI Ecore_X_Window ecore_x_window_manager_argb_new(Ecore_X_Window parent, int x, int y, int w, int h); 1166 int *size_ret,
1141EAPI Ecore_X_Window ecore_x_window_argb_new(Ecore_X_Window parent, int x, int y, int w, int h); 1167 Ecore_X_Atom *,
1142EAPI Ecore_X_Window ecore_x_window_override_argb_new(Ecore_X_Window parent, int x, int y, int w, int h); 1168 int *));
1143EAPI Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h); 1169EAPI void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, int (*func)(
1144EAPI void ecore_x_window_configure(Ecore_X_Window win, 1170 char *target,
1145 Ecore_X_Window_Configure_Mask mask, 1171 void *data,
1146 int x, int y, int w, int h, 1172 int size,
1147 int border_width, 1173 void **data_ret,
1148 Ecore_X_Window sibling, 1174 int *size_ret,
1149 int stack_mode); 1175 Ecore_X_Atom *tprop,
1150EAPI void ecore_x_window_cursor_set(Ecore_X_Window win, Ecore_X_Cursor c); 1176 int *tsize));
1151EAPI void ecore_x_window_free(Ecore_X_Window win); 1177EAPI void ecore_x_selection_converter_del(char *target);
1152EAPI void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore); 1178EAPI void ecore_x_selection_converter_atom_del(
1153EAPI Ecore_X_Window *ecore_x_window_ignore_list(int *num); 1179 Ecore_X_Atom target);
1154 1180EAPI void ecore_x_selection_parser_add(const char *target,
1155EAPI void ecore_x_window_delete_request_send(Ecore_X_Window win); 1181 void *(*func)(const char *target,
1156EAPI void ecore_x_window_show(Ecore_X_Window win); 1182 void *data, int size,
1157EAPI void ecore_x_window_hide(Ecore_X_Window win); 1183 int format));
1158EAPI void ecore_x_window_move(Ecore_X_Window win, int x, int y); 1184EAPI void ecore_x_selection_parser_del(const char *target);
1159EAPI void ecore_x_window_resize(Ecore_X_Window win, int w, int h); 1185
1160EAPI void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y, int w, int h); 1186EAPI void ecore_x_dnd_aware_set(Ecore_X_Window win, int on);
1161EAPI void ecore_x_window_focus(Ecore_X_Window win); 1187EAPI void ecore_x_dnd_version_get_prefetch(Ecore_X_Window window);
1162EAPI void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t); 1188EAPI void ecore_x_dnd_version_get_fetch(void);
1163EAPI void ecore_x_get_input_focus_prefetch(void); 1189EAPI int ecore_x_dnd_version_get(Ecore_X_Window win);
1164EAPI void ecore_x_get_input_focus_fetch(void); 1190EAPI void ecore_x_dnd_type_get_prefetch(Ecore_X_Window window);
1165EAPI Ecore_X_Window ecore_x_window_focus_get(void); 1191EAPI void ecore_x_dnd_type_get_fetch(void);
1166EAPI void ecore_x_window_raise(Ecore_X_Window win); 1192EAPI int ecore_x_dnd_type_isset(Ecore_X_Window win,
1167EAPI void ecore_x_window_lower(Ecore_X_Window win); 1193 const char *type);
1168EAPI void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y); 1194EAPI void ecore_x_dnd_type_set(Ecore_X_Window win,
1169EAPI void ecore_x_window_size_get(Ecore_X_Window win, int *w, int *h); 1195 const char *type,
1170EAPI void ecore_x_window_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h); 1196 int on);
1171EAPI int ecore_x_window_border_width_get(Ecore_X_Window win); 1197EAPI void ecore_x_dnd_types_set(Ecore_X_Window win,
1172EAPI void ecore_x_window_border_width_set(Ecore_X_Window win, int width); 1198 const char **types,
1173EAPI int ecore_x_window_depth_get(Ecore_X_Window win); 1199 unsigned int num_types);
1174EAPI void ecore_x_window_cursor_show(Ecore_X_Window win, int show); 1200EAPI void ecore_x_dnd_actions_set(Ecore_X_Window win,
1175EAPI void ecore_x_window_defaults_set(Ecore_X_Window win); 1201 Ecore_X_Atom *actions,
1176EAPI int ecore_x_window_visible_get(Ecore_X_Window win); 1202 unsigned int num_actions);
1177EAPI Ecore_X_Window ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base, int x, int y, Ecore_X_Window *skip, int skip_num); 1203EAPI void ecore_x_dnd_begin_prefetch(Ecore_X_Window source);
1178EAPI Ecore_X_Window ecore_x_window_shadow_parent_get(Ecore_X_Window root, Ecore_X_Window win); 1204EAPI void ecore_x_dnd_begin_fetch(void);
1179EAPI void ecore_x_window_shadow_tree_flush(void); 1205EAPI int ecore_x_dnd_begin(Ecore_X_Window source,
1180EAPI Ecore_X_Window ecore_x_window_root_get(Ecore_X_Window win); 1206 unsigned char *data,
1181EAPI Ecore_X_Window ecore_x_window_at_xy_get(int x, int y); 1207 int size);
1182EAPI Ecore_X_Window ecore_x_window_at_xy_with_skip_get(int x, int y, Ecore_X_Window *skip, int skip_num); 1208EAPI int ecore_x_dnd_drop(void);
1183EAPI Ecore_X_Window ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, int x, int y); 1209EAPI void ecore_x_dnd_send_status(int will_accept,
1184EAPI void ecore_x_query_tree_prefetch(Ecore_X_Window window); 1210 int suppress,
1185EAPI void ecore_x_query_tree_fetch(void); 1211 Ecore_X_Rectangle rectangle,
1186EAPI Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win); 1212 Ecore_X_Atom action);
1187 1213EAPI void ecore_x_dnd_send_finished(void);
1188EAPI void ecore_x_window_background_color_set(Ecore_X_Window win, 1214EAPI void ecore_x_dnd_source_action_set(Ecore_X_Atom action);
1189 unsigned short r, 1215EAPI Ecore_X_Atom ecore_x_dnd_source_action_get(void);
1190 unsigned short g, 1216
1191 unsigned short b); 1217EAPI Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent,
1192EAPI void ecore_x_window_gravity_set(Ecore_X_Window win, 1218 int x,
1193 Ecore_X_Gravity grav); 1219 int y,
1194EAPI void ecore_x_window_pixel_gravity_set(Ecore_X_Window win, 1220 int w,
1195 Ecore_X_Gravity grav); 1221 int h);
1196EAPI void ecore_x_window_pixmap_set(Ecore_X_Window win, 1222EAPI Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent,
1197 Ecore_X_Pixmap pmap); 1223 int x,
1198EAPI void ecore_x_window_area_clear(Ecore_X_Window win, 1224 int y,
1199 int x, int y, int w, int h); 1225 int w,
1200EAPI void ecore_x_window_area_expose(Ecore_X_Window win, 1226 int h);
1201 int x, int y, int w, int h); 1227EAPI int ecore_x_window_argb_get(Ecore_X_Window win);
1202EAPI void ecore_x_window_override_set(Ecore_X_Window win, int override); 1228EAPI Ecore_X_Window ecore_x_window_manager_argb_new(Ecore_X_Window parent,
1203 1229 int x,
1204EAPI void ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom, 1230 int y,
1205 unsigned int *val, unsigned int num); 1231 int w,
1206EAPI void ecore_x_window_prop_card32_get_prefetch(Ecore_X_Window window, 1232 int h);
1207 Ecore_X_Atom atom); 1233EAPI Ecore_X_Window ecore_x_window_argb_new(Ecore_X_Window parent,
1208EAPI void ecore_x_window_prop_card32_get_fetch(void); 1234 int x,
1209EAPI int ecore_x_window_prop_card32_get(Ecore_X_Window win, Ecore_X_Atom atom, 1235 int y,
1210 unsigned int *val, unsigned int len); 1236 int w,
1211EAPI int ecore_x_window_prop_card32_list_get(Ecore_X_Window win, 1237 int h);
1212 Ecore_X_Atom atom, 1238EAPI Ecore_X_Window ecore_x_window_override_argb_new(Ecore_X_Window parent,
1213 unsigned int **plst); 1239 int x,
1214 1240 int y,
1215EAPI void ecore_x_window_prop_xid_set(Ecore_X_Window win, 1241 int w,
1216 Ecore_X_Atom atom, 1242 int h);
1217 Ecore_X_Atom type, 1243EAPI Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent,
1218 Ecore_X_ID * lst, 1244 int x,
1219 unsigned int num); 1245 int y,
1220EAPI void ecore_x_window_prop_xid_get_prefetch(Ecore_X_Window window, 1246 int w,
1221 Ecore_X_Atom atom, 1247 int h);
1222 Ecore_X_Atom type); 1248EAPI void ecore_x_window_configure(
1223EAPI void ecore_x_window_prop_xid_get_fetch(void); 1249 Ecore_X_Window win,
1224EAPI int ecore_x_window_prop_xid_get(Ecore_X_Window win, 1250 Ecore_X_Window_Configure_Mask
1225 Ecore_X_Atom atom, 1251 mask,
1226 Ecore_X_Atom type, 1252 int x,
1227 Ecore_X_ID * lst, 1253 int y,
1228 unsigned int len); 1254 int w,
1229EAPI int ecore_x_window_prop_xid_list_get(Ecore_X_Window win, 1255 int h,
1230 Ecore_X_Atom atom, 1256 int border_width,
1231 Ecore_X_Atom type, 1257 Ecore_X_Window sibling,
1232 Ecore_X_ID ** plst); 1258 int stack_mode);
1233EAPI void ecore_x_window_prop_xid_list_change(Ecore_X_Window win, 1259EAPI void ecore_x_window_cursor_set(Ecore_X_Window win,
1234 Ecore_X_Atom atom, 1260 Ecore_X_Cursor c);
1235 Ecore_X_Atom type, 1261EAPI void ecore_x_window_free(Ecore_X_Window win);
1236 Ecore_X_ID item, 1262EAPI void ecore_x_window_ignore_set(Ecore_X_Window win,
1237 int op); 1263 int ignore);
1238EAPI void ecore_x_window_prop_atom_set(Ecore_X_Window win, 1264EAPI Ecore_X_Window *ecore_x_window_ignore_list(int *num);
1239 Ecore_X_Atom atom, 1265
1240 Ecore_X_Atom * val, 1266EAPI void ecore_x_window_delete_request_send(
1241 unsigned int num); 1267 Ecore_X_Window win);
1242EAPI void ecore_x_window_prop_atom_get_prefetch(Ecore_X_Window window, 1268EAPI void ecore_x_window_show(Ecore_X_Window win);
1243 Ecore_X_Atom atom); 1269EAPI void ecore_x_window_hide(Ecore_X_Window win);
1244EAPI void ecore_x_window_prop_atom_get_fetch(void); 1270EAPI void ecore_x_window_move(Ecore_X_Window win,
1245EAPI int ecore_x_window_prop_atom_get(Ecore_X_Window win, 1271 int x,
1246 Ecore_X_Atom atom, 1272 int y);
1247 Ecore_X_Atom * val, 1273EAPI void ecore_x_window_resize(Ecore_X_Window win,
1248 unsigned int len); 1274 int w,
1249EAPI int ecore_x_window_prop_atom_list_get(Ecore_X_Window win, 1275 int h);
1250 Ecore_X_Atom atom, 1276EAPI void ecore_x_window_move_resize(Ecore_X_Window win,
1251 Ecore_X_Atom ** plst); 1277 int x,
1252EAPI void ecore_x_window_prop_atom_list_change(Ecore_X_Window win, 1278 int y,
1253 Ecore_X_Atom atom, 1279 int w,
1254 Ecore_X_Atom item, 1280 int h);
1255 int op); 1281EAPI void ecore_x_window_focus(Ecore_X_Window win);
1256EAPI void ecore_x_window_prop_window_set(Ecore_X_Window win, 1282EAPI void ecore_x_window_focus_at_time(Ecore_X_Window win,
1257 Ecore_X_Atom atom, 1283 Ecore_X_Time t);
1258 Ecore_X_Window * val, 1284EAPI void ecore_x_get_input_focus_prefetch(void);
1259 unsigned int num); 1285EAPI void ecore_x_get_input_focus_fetch(void);
1260EAPI void ecore_x_window_prop_window_get_prefetch(Ecore_X_Window window, 1286EAPI Ecore_X_Window ecore_x_window_focus_get(void);
1261 Ecore_X_Atom atom); 1287EAPI void ecore_x_window_raise(Ecore_X_Window win);
1262EAPI void ecore_x_window_prop_window_get_fetch(void); 1288EAPI void ecore_x_window_lower(Ecore_X_Window win);
1263EAPI int ecore_x_window_prop_window_get(Ecore_X_Window win, 1289EAPI void ecore_x_window_reparent(Ecore_X_Window win,
1264 Ecore_X_Atom atom, 1290 Ecore_X_Window new_parent,
1265 Ecore_X_Window * val, 1291 int x,
1266 unsigned int len); 1292 int y);
1267EAPI int ecore_x_window_prop_window_list_get(Ecore_X_Window win, 1293EAPI void ecore_x_window_size_get(Ecore_X_Window win,
1268 Ecore_X_Atom atom, 1294 int *w,
1269 Ecore_X_Window ** plst); 1295 int *h);
1270 1296EAPI void ecore_x_window_geometry_get(Ecore_X_Window win,
1271EAPI Ecore_X_Atom ecore_x_window_prop_any_type(void); 1297 int *x,
1272EAPI void ecore_x_window_prop_property_set(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Atom format, int size, void *data, int number); 1298 int *y,
1273EAPI void ecore_x_window_prop_property_get_prefetch(Ecore_X_Window window, 1299 int *w,
1274 Ecore_X_Atom property, 1300 int *h);
1275 Ecore_X_Atom type); 1301EAPI int ecore_x_window_border_width_get(
1276EAPI void ecore_x_window_prop_property_get_fetch(void); 1302 Ecore_X_Window win);
1277EAPI int ecore_x_window_prop_property_get(Ecore_X_Window win, Ecore_X_Atom property, Ecore_X_Atom type, int size, unsigned char **data, int *num); 1303EAPI void ecore_x_window_border_width_set(
1278EAPI void ecore_x_window_prop_property_del(Ecore_X_Window win, Ecore_X_Atom property); 1304 Ecore_X_Window win,
1279EAPI void ecore_x_window_prop_list_prefetch(Ecore_X_Window window); 1305 int width);
1280EAPI void ecore_x_window_prop_list_fetch(void); 1306EAPI int ecore_x_window_depth_get(Ecore_X_Window win);
1281EAPI Ecore_X_Atom *ecore_x_window_prop_list(Ecore_X_Window win, int *num_ret); 1307EAPI void ecore_x_window_cursor_show(Ecore_X_Window win,
1282EAPI void ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, const char *str); 1308 int show);
1283EAPI void ecore_x_window_prop_string_get_prefetch(Ecore_X_Window window, 1309EAPI void ecore_x_window_defaults_set(Ecore_X_Window win);
1284 Ecore_X_Atom type); 1310EAPI int ecore_x_window_visible_get(Ecore_X_Window win);
1285EAPI void ecore_x_window_prop_string_get_fetch(void); 1311EAPI Ecore_X_Window ecore_x_window_shadow_tree_at_xy_with_skip_get(
1286EAPI char *ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type); 1312 Ecore_X_Window base,
1287EAPI int ecore_x_window_prop_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol); 1313 int x,
1288EAPI Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(Ecore_X_Window win, int *num_ret); 1314 int y,
1289 1315 Ecore_X_Window *skip,
1290EAPI void ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask); 1316 int skip_num);
1291EAPI void ecore_x_window_shape_window_set(Ecore_X_Window win, Ecore_X_Window shape_win); 1317EAPI Ecore_X_Window ecore_x_window_shadow_parent_get(
1292EAPI void ecore_x_window_shape_window_set_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y); 1318 Ecore_X_Window root,
1293EAPI void ecore_x_window_shape_rectangle_set(Ecore_X_Window win, int x, int y, int w, int h); 1319 Ecore_X_Window win);
1294EAPI void ecore_x_window_shape_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num); 1320EAPI void ecore_x_window_shadow_tree_flush(void);
1295EAPI void ecore_x_window_shape_window_add(Ecore_X_Window win, Ecore_X_Window shape_win); 1321EAPI Ecore_X_Window ecore_x_window_root_get(Ecore_X_Window win);
1296EAPI void ecore_x_window_shape_window_add_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y); 1322EAPI Ecore_X_Window ecore_x_window_at_xy_get(int x, int y);
1297EAPI void ecore_x_window_shape_rectangle_add(Ecore_X_Window win, int x, int y, int w, int h); 1323EAPI Ecore_X_Window ecore_x_window_at_xy_with_skip_get(int x,
1298EAPI void ecore_x_window_shape_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int h); 1324 int y,
1299EAPI void ecore_x_window_shape_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num); 1325 Ecore_X_Window *skip,
1300EAPI void ecore_x_window_shape_rectangles_get_prefetch(Ecore_X_Window window); 1326 int skip_num);
1327EAPI Ecore_X_Window ecore_x_window_at_xy_begin_get(
1328 Ecore_X_Window begin,
1329 int x,
1330 int y);
1331EAPI void ecore_x_query_tree_prefetch(
1332 Ecore_X_Window window);
1333EAPI void ecore_x_query_tree_fetch(void);
1334EAPI Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win);
1335
1336EAPI void ecore_x_window_background_color_set(
1337 Ecore_X_Window win,
1338 unsigned
1339 short r,
1340 unsigned
1341 short g,
1342 unsigned
1343 short b);
1344EAPI void ecore_x_window_gravity_set(Ecore_X_Window win,
1345 Ecore_X_Gravity grav);
1346EAPI void ecore_x_window_pixel_gravity_set(
1347 Ecore_X_Window win,
1348 Ecore_X_Gravity
1349 grav);
1350EAPI void ecore_x_window_pixmap_set(Ecore_X_Window win,
1351 Ecore_X_Pixmap pmap);
1352EAPI void ecore_x_window_area_clear(Ecore_X_Window win,
1353 int x,
1354 int y,
1355 int w,
1356 int h);
1357EAPI void ecore_x_window_area_expose(Ecore_X_Window win,
1358 int x,
1359 int y,
1360 int w,
1361 int h);
1362EAPI void ecore_x_window_override_set(Ecore_X_Window win,
1363 int override);
1364
1365EAPI void ecore_x_window_prop_card32_set(
1366 Ecore_X_Window win,
1367 Ecore_X_Atom atom,
1368 unsigned int *val,
1369 unsigned int num);
1370EAPI void ecore_x_window_prop_card32_get_prefetch(
1371 Ecore_X_Window window,
1372 Ecore_X_Atom
1373 atom);
1374EAPI void ecore_x_window_prop_card32_get_fetch(void);
1375EAPI int ecore_x_window_prop_card32_get(
1376 Ecore_X_Window win,
1377 Ecore_X_Atom atom,
1378 unsigned int *val,
1379 unsigned int len);
1380EAPI int ecore_x_window_prop_card32_list_get(
1381 Ecore_X_Window win,
1382 Ecore_X_Atom
1383 atom,
1384 unsigned int
1385 **plst);
1386
1387EAPI void ecore_x_window_prop_xid_set(Ecore_X_Window win,
1388 Ecore_X_Atom atom,
1389 Ecore_X_Atom type,
1390 Ecore_X_ID *lst,
1391 unsigned int num);
1392EAPI void ecore_x_window_prop_xid_get_prefetch(
1393 Ecore_X_Window window,
1394 Ecore_X_Atom
1395 atom,
1396 Ecore_X_Atom
1397 type);
1398EAPI void ecore_x_window_prop_xid_get_fetch(void);
1399EAPI int ecore_x_window_prop_xid_get(Ecore_X_Window win,
1400 Ecore_X_Atom atom,
1401 Ecore_X_Atom type,
1402 Ecore_X_ID *lst,
1403 unsigned int len);
1404EAPI int ecore_x_window_prop_xid_list_get(
1405 Ecore_X_Window win,
1406 Ecore_X_Atom
1407 atom,
1408 Ecore_X_Atom
1409 type,
1410 Ecore_X_ID **
1411 plst);
1412EAPI void ecore_x_window_prop_xid_list_change(
1413 Ecore_X_Window win,
1414 Ecore_X_Atom
1415 atom,
1416 Ecore_X_Atom
1417 type,
1418 Ecore_X_ID
1419 item,
1420 int op);
1421EAPI void ecore_x_window_prop_atom_set(Ecore_X_Window win,
1422 Ecore_X_Atom atom,
1423 Ecore_X_Atom *val,
1424 unsigned int num);
1425EAPI void ecore_x_window_prop_atom_get_prefetch(
1426 Ecore_X_Window window,
1427 Ecore_X_Atom
1428 atom);
1429EAPI void ecore_x_window_prop_atom_get_fetch(void);
1430EAPI int ecore_x_window_prop_atom_get(Ecore_X_Window win,
1431 Ecore_X_Atom atom,
1432 Ecore_X_Atom *val,
1433 unsigned int len);
1434EAPI int ecore_x_window_prop_atom_list_get(
1435 Ecore_X_Window win,
1436 Ecore_X_Atom
1437 atom,
1438 Ecore_X_Atom *
1439 *plst);
1440EAPI void ecore_x_window_prop_atom_list_change(
1441 Ecore_X_Window win,
1442 Ecore_X_Atom
1443 atom,
1444 Ecore_X_Atom
1445 item,
1446 int op);
1447EAPI void ecore_x_window_prop_window_set(
1448 Ecore_X_Window win,
1449 Ecore_X_Atom atom,
1450 Ecore_X_Window *
1451 val,
1452 unsigned int num);
1453EAPI void ecore_x_window_prop_window_get_prefetch(
1454 Ecore_X_Window window,
1455 Ecore_X_Atom
1456 atom);
1457EAPI void ecore_x_window_prop_window_get_fetch(void);
1458EAPI int ecore_x_window_prop_window_get(
1459 Ecore_X_Window win,
1460 Ecore_X_Atom atom,
1461 Ecore_X_Window *
1462 val,
1463 unsigned int len);
1464EAPI int ecore_x_window_prop_window_list_get(
1465 Ecore_X_Window win,
1466 Ecore_X_Atom
1467 atom,
1468 Ecore_X_Window
1469 **plst);
1470
1471EAPI Ecore_X_Atom ecore_x_window_prop_any_type(void);
1472EAPI void ecore_x_window_prop_property_set(
1473 Ecore_X_Window win,
1474 Ecore_X_Atom type,
1475 Ecore_X_Atom format,
1476 int size,
1477 void *data,
1478 int number);
1479EAPI void ecore_x_window_prop_property_get_prefetch(
1480 Ecore_X_Window window,
1481 Ecore_X_Atom
1482 property,
1483 Ecore_X_Atom
1484 type);
1485EAPI void ecore_x_window_prop_property_get_fetch(void);
1486EAPI int ecore_x_window_prop_property_get(
1487 Ecore_X_Window win,
1488 Ecore_X_Atom property,
1489 Ecore_X_Atom type,
1490 int size,
1491 unsigned char **data,
1492 int *num);
1493EAPI void ecore_x_window_prop_property_del(
1494 Ecore_X_Window win,
1495 Ecore_X_Atom property);
1496EAPI void ecore_x_window_prop_list_prefetch(
1497 Ecore_X_Window window);
1498EAPI void ecore_x_window_prop_list_fetch(void);
1499EAPI Ecore_X_Atom * ecore_x_window_prop_list(Ecore_X_Window win,
1500 int *num_ret);
1501EAPI void ecore_x_window_prop_string_set(
1502 Ecore_X_Window win,
1503 Ecore_X_Atom type,
1504 const char *str);
1505EAPI void ecore_x_window_prop_string_get_prefetch(
1506 Ecore_X_Window window,
1507 Ecore_X_Atom
1508 type);
1509EAPI void ecore_x_window_prop_string_get_fetch(void);
1510EAPI char * ecore_x_window_prop_string_get(
1511 Ecore_X_Window win,
1512 Ecore_X_Atom type);
1513EAPI int ecore_x_window_prop_protocol_isset(
1514 Ecore_X_Window win,
1515 Ecore_X_WM_Protocol protocol);
1516EAPI Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(
1517 Ecore_X_Window win,
1518 int *num_ret);
1519
1520EAPI void ecore_x_window_shape_mask_set(Ecore_X_Window win,
1521 Ecore_X_Pixmap mask);
1522EAPI void ecore_x_window_shape_window_set(
1523 Ecore_X_Window win,
1524 Ecore_X_Window shape_win);
1525EAPI void ecore_x_window_shape_window_set_xy(
1526 Ecore_X_Window win,
1527 Ecore_X_Window shape_win,
1528 int x,
1529 int y);
1530EAPI void ecore_x_window_shape_rectangle_set(
1531 Ecore_X_Window win,
1532 int x,
1533 int y,
1534 int w,
1535 int h);
1536EAPI void ecore_x_window_shape_rectangles_set(
1537 Ecore_X_Window win,
1538 Ecore_X_Rectangle *rects,
1539 int num);
1540EAPI void ecore_x_window_shape_window_add(
1541 Ecore_X_Window win,
1542 Ecore_X_Window shape_win);
1543EAPI void ecore_x_window_shape_window_add_xy(
1544 Ecore_X_Window win,
1545 Ecore_X_Window shape_win,
1546 int x,
1547 int y);
1548EAPI void ecore_x_window_shape_rectangle_add(
1549 Ecore_X_Window win,
1550 int x,
1551 int y,
1552 int w,
1553 int h);
1554EAPI void ecore_x_window_shape_rectangle_clip(
1555 Ecore_X_Window win,
1556 int x,
1557 int y,
1558 int w,
1559 int h);
1560EAPI void ecore_x_window_shape_rectangles_add(
1561 Ecore_X_Window win,
1562 Ecore_X_Rectangle *rects,
1563 int num);
1564EAPI void ecore_x_window_shape_rectangles_get_prefetch(
1565 Ecore_X_Window window);
1301EAPI void ecore_x_window_shape_rectangles_get_fetch(void); 1566EAPI void ecore_x_window_shape_rectangles_get_fetch(void);
1302EAPI Ecore_X_Rectangle *ecore_x_window_shape_rectangles_get(Ecore_X_Window win, int *num_ret); 1567EAPI Ecore_X_Rectangle *ecore_x_window_shape_rectangles_get(
1303EAPI void ecore_x_window_shape_events_select(Ecore_X_Window win, int on); 1568 Ecore_X_Window win,
1304EAPI void ecore_x_window_shape_input_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask); 1569 int *num_ret);
1305 1570EAPI void ecore_x_window_shape_events_select(
1306EAPI Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win, int w, int h, int dep); 1571 Ecore_X_Window win,
1307EAPI void ecore_x_pixmap_free(Ecore_X_Pixmap pmap); 1572 int on);
1308EAPI void ecore_x_pixmap_paste(Ecore_X_Pixmap pmap, Ecore_X_Drawable dest, Ecore_X_GC gc, int sx, int sy, int w, int h, int dx, int dy); 1573EAPI void ecore_x_window_shape_input_mask_set(
1309EAPI void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h); 1574 Ecore_X_Window win,
1310EAPI int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap); 1575 Ecore_X_Pixmap mask);
1311 1576
1312EAPI Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw, Ecore_X_GC_Value_Mask value_mask, const unsigned int *value_list); 1577EAPI Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win,
1313EAPI void ecore_x_gc_free(Ecore_X_GC gc); 1578 int w,
1314 1579 int h,
1315EAPI int ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type, Ecore_X_Event_Mask mask, long d0, long d1, long d2, long d3, long d4); 1580 int dep);
1316EAPI int ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, const void *data, int len); 1581EAPI void ecore_x_pixmap_free(Ecore_X_Pixmap pmap);
1317EAPI int ecore_x_mouse_move_send(Ecore_X_Window win, int x, int y); 1582EAPI void ecore_x_pixmap_paste(Ecore_X_Pixmap pmap,
1318EAPI int ecore_x_mouse_down_send(Ecore_X_Window win, int x, int y, int b); 1583 Ecore_X_Drawable dest,
1319EAPI int ecore_x_mouse_up_send(Ecore_X_Window win, int x, int y, int b); 1584 Ecore_X_GC gc,
1320 1585 int sx,
1321EAPI void ecore_x_drawable_geometry_get_prefetch(Ecore_X_Drawable drawable); 1586 int sy,
1322EAPI void ecore_x_drawable_geometry_get_fetch(void); 1587 int w,
1323EAPI void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h); 1588 int h,
1324EAPI int ecore_x_drawable_border_width_get(Ecore_X_Drawable d); 1589 int dx,
1325EAPI int ecore_x_drawable_depth_get(Ecore_X_Drawable d); 1590 int dy);
1326EAPI void ecore_x_drawable_rectangle_fill(Ecore_X_Drawable d, Ecore_X_GC gc, int x, int y, int width, int height); 1591EAPI void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap,
1327 1592 int *x,
1328EAPI int ecore_x_cursor_color_supported_get(void); 1593 int *y,
1329EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y); 1594 int *w,
1330EAPI void ecore_x_cursor_free(Ecore_X_Cursor c); 1595 int *h);
1331EAPI Ecore_X_Cursor ecore_x_cursor_shape_get(int shape); 1596EAPI int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap);
1332EAPI void ecore_x_cursor_size_set(int size); 1597
1333EAPI int ecore_x_cursor_size_get(void); 1598EAPI Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw,
1599 Ecore_X_GC_Value_Mask value_mask,
1600 const unsigned int *value_list);
1601EAPI void ecore_x_gc_free(Ecore_X_GC gc);
1602
1603EAPI int ecore_x_client_message32_send(Ecore_X_Window win,
1604 Ecore_X_Atom type,
1605 Ecore_X_Event_Mask mask,
1606 long d0,
1607 long d1,
1608 long d2,
1609 long d3,
1610 long d4);
1611EAPI int ecore_x_client_message8_send(Ecore_X_Window win,
1612 Ecore_X_Atom type,
1613 const void *data,
1614 int len);
1615EAPI int ecore_x_mouse_move_send(Ecore_X_Window win,
1616 int x,
1617 int y);
1618EAPI int ecore_x_mouse_down_send(Ecore_X_Window win,
1619 int x,
1620 int y,
1621 int b);
1622EAPI int ecore_x_mouse_up_send(Ecore_X_Window win,
1623 int x,
1624 int y,
1625 int b);
1626
1627EAPI void ecore_x_drawable_geometry_get_prefetch(
1628 Ecore_X_Drawable drawable);
1629EAPI void ecore_x_drawable_geometry_get_fetch(void);
1630EAPI void ecore_x_drawable_geometry_get(Ecore_X_Drawable d,
1631 int *x,
1632 int *y,
1633 int *w,
1634 int *h);
1635EAPI int ecore_x_drawable_border_width_get(
1636 Ecore_X_Drawable d);
1637EAPI int ecore_x_drawable_depth_get(Ecore_X_Drawable d);
1638EAPI void ecore_x_drawable_rectangle_fill(
1639 Ecore_X_Drawable d,
1640 Ecore_X_GC gc,
1641 int x,
1642 int y,
1643 int width,
1644 int height);
1645
1646EAPI int ecore_x_cursor_color_supported_get(void);
1647EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win,
1648 int *pixels,
1649 int w,
1650 int h,
1651 int hot_x,
1652 int hot_y);
1653EAPI void ecore_x_cursor_free(Ecore_X_Cursor c);
1654EAPI Ecore_X_Cursor ecore_x_cursor_shape_get(int shape);
1655EAPI void ecore_x_cursor_size_set(int size);
1656EAPI int ecore_x_cursor_size_get(void);
1334 1657
1335 1658
1336/* FIXME: these funcs need categorising */ 1659/* FIXME: these funcs need categorising */
1337EAPI Ecore_X_Window *ecore_x_window_root_list(int *num_ret); 1660EAPI Ecore_X_Window * ecore_x_window_root_list(int *num_ret);
1338EAPI Ecore_X_Window ecore_x_window_root_first_get(void); 1661EAPI Ecore_X_Window ecore_x_window_root_first_get(void);
1339EAPI int ecore_x_window_manage(Ecore_X_Window win); 1662EAPI int ecore_x_window_manage(Ecore_X_Window win);
1340EAPI void ecore_x_window_container_manage(Ecore_X_Window win); 1663EAPI void ecore_x_window_container_manage(
1341EAPI void ecore_x_window_client_manage(Ecore_X_Window win); 1664 Ecore_X_Window win);
1342EAPI void ecore_x_window_sniff(Ecore_X_Window win); 1665EAPI void ecore_x_window_client_manage(Ecore_X_Window win);
1343EAPI void ecore_x_window_client_sniff(Ecore_X_Window win); 1666EAPI void ecore_x_window_sniff(Ecore_X_Window win);
1344EAPI void ecore_x_atom_get_prefetch(const char *name); 1667EAPI void ecore_x_window_client_sniff(Ecore_X_Window win);
1345EAPI void ecore_x_atom_get_fetch(void); 1668EAPI void ecore_x_atom_get_prefetch(const char *name);
1346EAPI Ecore_X_Atom ecore_x_atom_get(const char *name); 1669EAPI void ecore_x_atom_get_fetch(void);
1347EAPI void ecore_x_atoms_get(const char **names, int num, Ecore_X_Atom *atoms); 1670EAPI Ecore_X_Atom ecore_x_atom_get(const char *name);
1348EAPI void ecore_x_get_atom_name_prefetch(Ecore_X_Atom atom); 1671EAPI void ecore_x_atoms_get(const char **names,
1349EAPI void ecore_x_get_atom_name_fetch(void); 1672 int num,
1350EAPI char *ecore_x_atom_name_get(Ecore_X_Atom atom); 1673 Ecore_X_Atom *atoms);
1351 1674EAPI void ecore_x_get_atom_name_prefetch(Ecore_X_Atom atom);
1352 1675EAPI void ecore_x_get_atom_name_fetch(void);
1353EAPI void ecore_x_icccm_init(void); 1676EAPI char * ecore_x_atom_name_get(Ecore_X_Atom atom);
1354EAPI void ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state); 1677
1678
1679EAPI void ecore_x_icccm_init(void);
1680EAPI void ecore_x_icccm_state_set(
1681 Ecore_X_Window win,
1682 Ecore_X_Window_State_Hint
1683 state);
1355EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win); 1684EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win);
1356EAPI void ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t); 1685EAPI void ecore_x_icccm_delete_window_send(
1357EAPI void ecore_x_icccm_take_focus_send(Ecore_X_Window win, Ecore_X_Time t); 1686 Ecore_X_Window win,
1358EAPI void ecore_x_icccm_save_yourself_send(Ecore_X_Window win, Ecore_X_Time t); 1687 Ecore_X_Time t);
1359EAPI void ecore_x_icccm_move_resize_send(Ecore_X_Window win, int x, int y, int w, int h); 1688EAPI void ecore_x_icccm_take_focus_send(Ecore_X_Window win,
1360EAPI void ecore_x_icccm_hints_set(Ecore_X_Window win, 1689 Ecore_X_Time t);
1361 int accepts_focus, 1690EAPI void ecore_x_icccm_save_yourself_send(
1362 Ecore_X_Window_State_Hint initial_state, 1691 Ecore_X_Window win,
1363 Ecore_X_Pixmap icon_pixmap, 1692 Ecore_X_Time t);
1364 Ecore_X_Pixmap icon_mask, 1693EAPI void ecore_x_icccm_move_resize_send(
1365 Ecore_X_Window icon_window, 1694 Ecore_X_Window win,
1366 Ecore_X_Window window_group, 1695 int x,
1367 int is_urgent); 1696 int y,
1368EAPI int ecore_x_icccm_hints_get(Ecore_X_Window win, 1697 int w,
1369 int *accepts_focus, 1698 int h);
1370 Ecore_X_Window_State_Hint *initial_state, 1699EAPI void ecore_x_icccm_hints_set(
1371 Ecore_X_Pixmap *icon_pixmap, 1700 Ecore_X_Window win,
1372 Ecore_X_Pixmap *icon_mask, 1701 int accepts_focus,
1373 Ecore_X_Window *icon_window, 1702 Ecore_X_Window_State_Hint
1374 Ecore_X_Window *window_group, 1703 initial_state,
1375 int *is_urgent); 1704 Ecore_X_Pixmap
1376EAPI void ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win, 1705 icon_pixmap,
1377 int request_pos, 1706 Ecore_X_Pixmap icon_mask,
1378 Ecore_X_Gravity gravity, 1707 Ecore_X_Window
1379 int min_w, int min_h, 1708 icon_window,
1380 int max_w, int max_h, 1709 Ecore_X_Window
1381 int base_w, int base_h, 1710 window_group,
1382 int step_x, int step_y, 1711 int is_urgent);
1383 double min_aspect, 1712EAPI int ecore_x_icccm_hints_get(Ecore_X_Window win,
1384 double max_aspect); 1713 int *accepts_focus,
1385EAPI int ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win, 1714 Ecore_X_Window_State_Hint *initial_state,
1386 int *request_pos, 1715 Ecore_X_Pixmap *icon_pixmap,
1387 Ecore_X_Gravity *gravity, 1716 Ecore_X_Pixmap *icon_mask,
1388 int *min_w, int *min_h, 1717 Ecore_X_Window *icon_window,
1389 int *max_w, int *max_h, 1718 Ecore_X_Window *window_group,
1390 int *base_w, int *base_h, 1719 int *is_urgent);
1391 int *step_x, int *step_y, 1720EAPI void ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win,
1392 double *min_aspect, 1721 int request_pos,
1393 double *max_aspect); 1722 Ecore_X_Gravity gravity,
1394EAPI void ecore_x_icccm_title_set(Ecore_X_Window win, const char *t); 1723 int min_w, int min_h,
1395EAPI char *ecore_x_icccm_title_get(Ecore_X_Window win); 1724 int max_w, int max_h,
1396EAPI void ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win, 1725 int base_w, int base_h,
1397 Ecore_X_Atom *protos, int num); 1726 int step_x, int step_y,
1398EAPI void ecore_x_icccm_protocol_set(Ecore_X_Window win, 1727 double min_aspect,
1399 Ecore_X_WM_Protocol protocol, 1728 double max_aspect);
1400 int on); 1729EAPI int ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
1401EAPI int ecore_x_icccm_protocol_isset(Ecore_X_Window win, 1730 int *request_pos,
1402 Ecore_X_WM_Protocol protocol); 1731 Ecore_X_Gravity *gravity,
1403EAPI void ecore_x_icccm_name_class_set(Ecore_X_Window win, 1732 int *min_w, int *min_h,
1404 const char *n, 1733 int *max_w, int *max_h,
1405 const char *c); 1734 int *base_w, int *base_h,
1406EAPI void ecore_x_icccm_name_class_get(Ecore_X_Window win, 1735 int *step_x, int *step_y,
1407 char **n, 1736 double *min_aspect,
1408 char **c); 1737 double *max_aspect);
1409EAPI char *ecore_x_icccm_client_machine_get(Ecore_X_Window win); 1738EAPI void ecore_x_icccm_title_set(Ecore_X_Window win, const char *t);
1410EAPI void ecore_x_icccm_command_set(Ecore_X_Window win, int argc, char **argv); 1739EAPI char * ecore_x_icccm_title_get(Ecore_X_Window win);
1411EAPI void ecore_x_icccm_command_get(Ecore_X_Window win, int *argc, char ***argv); 1740EAPI void ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win,
1412EAPI char *ecore_x_icccm_icon_name_get(Ecore_X_Window win); 1741 Ecore_X_Atom *protos,
1413EAPI void ecore_x_icccm_icon_name_set(Ecore_X_Window win, const char *t); 1742 int num);
1414EAPI void ecore_x_icccm_colormap_window_set(Ecore_X_Window win, Ecore_X_Window subwin); 1743EAPI void ecore_x_icccm_protocol_set(Ecore_X_Window win,
1415EAPI void ecore_x_icccm_colormap_window_unset(Ecore_X_Window win, Ecore_X_Window subwin); 1744 Ecore_X_WM_Protocol protocol,
1416EAPI void ecore_x_icccm_transient_for_set(Ecore_X_Window win, Ecore_X_Window forwin); 1745 int on);
1417EAPI void ecore_x_icccm_transient_for_unset(Ecore_X_Window win); 1746EAPI int ecore_x_icccm_protocol_isset(Ecore_X_Window win,
1747 Ecore_X_WM_Protocol protocol);
1748EAPI void ecore_x_icccm_name_class_set(Ecore_X_Window win,
1749 const char *n,
1750 const char *c);
1751EAPI void ecore_x_icccm_name_class_get(Ecore_X_Window win,
1752 char **n,
1753 char **c);
1754EAPI char * ecore_x_icccm_client_machine_get(Ecore_X_Window win);
1755EAPI void ecore_x_icccm_command_set(Ecore_X_Window win,
1756 int argc,
1757 char **argv);
1758EAPI void ecore_x_icccm_command_get(Ecore_X_Window win,
1759 int *argc,
1760 char ***argv);
1761EAPI char * ecore_x_icccm_icon_name_get(Ecore_X_Window win);
1762EAPI void ecore_x_icccm_icon_name_set(Ecore_X_Window win,
1763 const char *t);
1764EAPI void ecore_x_icccm_colormap_window_set(Ecore_X_Window win,
1765 Ecore_X_Window subwin);
1766EAPI void ecore_x_icccm_colormap_window_unset(Ecore_X_Window win,
1767 Ecore_X_Window subwin);
1768EAPI void ecore_x_icccm_transient_for_set(Ecore_X_Window win,
1769 Ecore_X_Window forwin);
1770EAPI void ecore_x_icccm_transient_for_unset(Ecore_X_Window win);
1418EAPI Ecore_X_Window ecore_x_icccm_transient_for_get(Ecore_X_Window win); 1771EAPI Ecore_X_Window ecore_x_icccm_transient_for_get(Ecore_X_Window win);
1419EAPI void ecore_x_icccm_window_role_set(Ecore_X_Window win, const char *role); 1772EAPI void ecore_x_icccm_window_role_set(Ecore_X_Window win,
1420EAPI char *ecore_x_icccm_window_role_get(Ecore_X_Window win); 1773 const char *role);
1421EAPI void ecore_x_icccm_client_leader_set(Ecore_X_Window win, Ecore_X_Window l); 1774EAPI char * ecore_x_icccm_window_role_get(Ecore_X_Window win);
1775EAPI void ecore_x_icccm_client_leader_set(Ecore_X_Window win,
1776 Ecore_X_Window l);
1422EAPI Ecore_X_Window ecore_x_icccm_client_leader_get(Ecore_X_Window win); 1777EAPI Ecore_X_Window ecore_x_icccm_client_leader_get(Ecore_X_Window win);
1423EAPI void ecore_x_icccm_iconic_request_send(Ecore_X_Window win, Ecore_X_Window root); 1778EAPI void ecore_x_icccm_iconic_request_send(Ecore_X_Window win,
1779 Ecore_X_Window root);
1424 1780
1425 1781
1426typedef enum _Ecore_X_MWM_Hint_Func 1782typedef enum _Ecore_X_MWM_Hint_Func
@@ -1452,294 +1808,661 @@ typedef enum _Ecore_X_MWM_Hint_Input
1452 ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL = 3 1808 ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL = 3
1453} Ecore_X_MWM_Hint_Input; 1809} Ecore_X_MWM_Hint_Input;
1454 1810
1455EAPI void ecore_x_mwm_hints_get_prefetch(Ecore_X_Window window); 1811EAPI void ecore_x_mwm_hints_get_prefetch(
1812 Ecore_X_Window window);
1456EAPI void ecore_x_mwm_hints_get_fetch(void); 1813EAPI void ecore_x_mwm_hints_get_fetch(void);
1457EAPI int ecore_x_mwm_hints_get(Ecore_X_Window win, 1814EAPI int ecore_x_mwm_hints_get(
1458 Ecore_X_MWM_Hint_Func *fhint, 1815 Ecore_X_Window win,
1459 Ecore_X_MWM_Hint_Decor *dhint, 1816 Ecore_X_MWM_Hint_Func
1460 Ecore_X_MWM_Hint_Input *ihint); 1817 *fhint,
1461EAPI void ecore_x_mwm_borderless_set(Ecore_X_Window win, int borderless); 1818 Ecore_X_MWM_Hint_Decor
1819 *dhint,
1820 Ecore_X_MWM_Hint_Input
1821 *ihint);
1822EAPI void ecore_x_mwm_borderless_set(
1823 Ecore_X_Window win,
1824 int borderless);
1462 1825
1463/* netwm */ 1826/* netwm */
1464EAPI void ecore_x_netwm_init(void); 1827EAPI void ecore_x_netwm_init(void);
1465EAPI void ecore_x_netwm_shutdown(void); 1828EAPI void ecore_x_netwm_shutdown(void);
1466EAPI void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, const char *wm_name); 1829EAPI void ecore_x_netwm_wm_identify(
1467EAPI void ecore_x_netwm_supported_set(Ecore_X_Window root, Ecore_X_Atom *supported, int num); 1830 Ecore_X_Window root,
1468EAPI void ecore_x_netwm_supported_get_prefetch(Ecore_X_Window root); 1831 Ecore_X_Window check,
1469EAPI void ecore_x_netwm_supported_get_fetch(void); 1832 const char *wm_name);
1470EAPI int ecore_x_netwm_supported_get(Ecore_X_Window root, Ecore_X_Atom **supported, int *num); 1833EAPI void ecore_x_netwm_supported_set(
1471EAPI void ecore_x_netwm_desk_count_set(Ecore_X_Window root, unsigned int n_desks); 1834 Ecore_X_Window root,
1472EAPI void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, Ecore_X_Window *vroots, unsigned int n_desks); 1835 Ecore_X_Atom *supported,
1473EAPI void ecore_x_netwm_desk_names_set(Ecore_X_Window root, const char **names, unsigned int n_desks); 1836 int num);
1474EAPI void ecore_x_netwm_desk_size_set(Ecore_X_Window root, unsigned int width, unsigned int height); 1837EAPI void ecore_x_netwm_supported_get_prefetch(
1475EAPI void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, unsigned int *areas, unsigned int n_desks); 1838 Ecore_X_Window root);
1476EAPI void ecore_x_netwm_desk_current_set(Ecore_X_Window root, unsigned int desk); 1839EAPI void ecore_x_netwm_supported_get_fetch(void);
1477EAPI void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, unsigned int *origins, unsigned int n_desks); 1840EAPI int ecore_x_netwm_supported_get(
1478EAPI void ecore_x_netwm_desk_layout_set(Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner); 1841 Ecore_X_Window root,
1479EAPI void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, int on); 1842 Ecore_X_Atom **supported,
1480EAPI void ecore_x_netwm_client_list_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients); 1843 int *num);
1481EAPI void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients); 1844EAPI void ecore_x_netwm_desk_count_set(
1482EAPI void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win); 1845 Ecore_X_Window root,
1483EAPI void ecore_x_netwm_client_active_request(Ecore_X_Window root, Ecore_X_Window win, int type, Ecore_X_Window current_win); 1846 unsigned int n_desks);
1484EAPI void ecore_x_netwm_name_set(Ecore_X_Window win, const char *name); 1847EAPI void ecore_x_netwm_desk_roots_set(
1485EAPI void ecore_x_netwm_name_get_prefetch(Ecore_X_Window window); 1848 Ecore_X_Window root,
1486EAPI void ecore_x_netwm_name_get_fetch(void); 1849 Ecore_X_Window *vroots,
1487EAPI int ecore_x_netwm_name_get(Ecore_X_Window win, char **name); 1850 unsigned int n_desks);
1488EAPI void ecore_x_netwm_startup_id_set(Ecore_X_Window win, const char *id); 1851EAPI void ecore_x_netwm_desk_names_set(
1489EAPI void ecore_x_netwm_startup_id_get_prefetch(Ecore_X_Window window); 1852 Ecore_X_Window root,
1490EAPI void ecore_x_netwm_startup_id_get_fetch(void); 1853 const char **names,
1491EAPI int ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id); 1854 unsigned int n_desks);
1492EAPI void ecore_x_netwm_visible_name_set(Ecore_X_Window win, const char *name); 1855EAPI void ecore_x_netwm_desk_size_set(
1493EAPI void ecore_x_netwm_visible_name_get_prefetch(Ecore_X_Window window); 1856 Ecore_X_Window root,
1494EAPI void ecore_x_netwm_visible_name_get_fetch(void); 1857 unsigned int width,
1495EAPI int ecore_x_netwm_visible_name_get(Ecore_X_Window win, char **name); 1858 unsigned int height);
1496EAPI void ecore_x_netwm_icon_name_set(Ecore_X_Window win, const char *name); 1859EAPI void ecore_x_netwm_desk_workareas_set(
1497EAPI void ecore_x_netwm_icon_name_get_prefetch(Ecore_X_Window window); 1860 Ecore_X_Window root,
1498EAPI void ecore_x_netwm_icon_name_get_fetch(void); 1861 unsigned int *areas,
1499EAPI int ecore_x_netwm_icon_name_get(Ecore_X_Window win, char **name); 1862 unsigned int n_desks);
1500EAPI void ecore_x_netwm_visible_icon_name_set(Ecore_X_Window win, const char *name); 1863EAPI void ecore_x_netwm_desk_current_set(
1501EAPI void ecore_x_netwm_visible_icon_name_get_prefetch(Ecore_X_Window window); 1864 Ecore_X_Window root,
1502EAPI void ecore_x_netwm_visible_icon_name_get_fetch(void); 1865 unsigned int desk);
1503EAPI int ecore_x_netwm_visible_icon_name_get(Ecore_X_Window win, char **name); 1866EAPI void ecore_x_netwm_desk_viewports_set(
1504EAPI void ecore_x_netwm_desktop_set(Ecore_X_Window win, unsigned int desk); 1867 Ecore_X_Window root,
1505EAPI void ecore_x_netwm_desktop_get_prefetch(Ecore_X_Window window); 1868 unsigned int *origins,
1506EAPI void ecore_x_netwm_desktop_get_fetch(void); 1869 unsigned int n_desks);
1507EAPI int ecore_x_netwm_desktop_get(Ecore_X_Window win, unsigned int *desk); 1870EAPI void ecore_x_netwm_desk_layout_set(
1508EAPI void ecore_x_netwm_strut_set(Ecore_X_Window win, int left, int right, int top, int bottom); 1871 Ecore_X_Window root,
1509EAPI void ecore_x_netwm_strut_get_prefetch(Ecore_X_Window window); 1872 int orientation,
1510EAPI void ecore_x_netwm_strut_get_fetch(void); 1873 int columns,
1511EAPI int ecore_x_netwm_strut_get(Ecore_X_Window win, int *left, int *right, int *top, int *bottom); 1874 int rows,
1512EAPI void ecore_x_netwm_strut_partial_set(Ecore_X_Window win, int left, int right, int top, int bottom, int left_start_y, int left_end_y, int right_start_y, int right_end_y, int top_start_x, int top_end_x, int bottom_start_x, int bottom_end_x); 1875 int starting_corner);
1513EAPI void ecore_x_netwm_strut_partial_get_prefetch(Ecore_X_Window window); 1876EAPI void ecore_x_netwm_showing_desktop_set(
1514EAPI void ecore_x_netwm_strut_partial_get_fetch(void); 1877 Ecore_X_Window root,
1515EAPI int ecore_x_netwm_strut_partial_get(Ecore_X_Window win, int *left, int *right, int *top, int *bottom, int *left_start_y, int *left_end_y, int *right_start_y, int *right_end_y, int *top_start_x, int *top_end_x, int *bottom_start_x, int *bottom_end_x); 1878 int on);
1516EAPI void ecore_x_netwm_icons_get_prefetch(Ecore_X_Window window); 1879EAPI void ecore_x_netwm_client_list_set(
1517EAPI void ecore_x_netwm_icons_get_fetch(void); 1880 Ecore_X_Window root,
1518EAPI int ecore_x_netwm_icons_get(Ecore_X_Window win, Ecore_X_Icon **icon, int *num); 1881 Ecore_X_Window *p_clients,
1519EAPI void ecore_x_netwm_icon_geometry_set(Ecore_X_Window win, int x, int y, int width, int height); 1882 unsigned int n_clients);
1520EAPI void ecore_x_netwm_icon_geometry_get_prefetch(Ecore_X_Window window); 1883EAPI void ecore_x_netwm_client_list_stacking_set(
1521EAPI void ecore_x_netwm_icon_geometry_get_fetch(void); 1884 Ecore_X_Window root,
1522EAPI int ecore_x_netwm_icon_geometry_get(Ecore_X_Window win, int *x, int *y, int *width, int *height); 1885 Ecore_X_Window *p_clients,
1523EAPI void ecore_x_netwm_pid_set(Ecore_X_Window win, int pid); 1886 unsigned int n_clients);
1524EAPI void ecore_x_netwm_pid_get_prefetch(Ecore_X_Window window); 1887EAPI void ecore_x_netwm_client_active_set(
1525EAPI void ecore_x_netwm_pid_get_fetch(void); 1888 Ecore_X_Window root,
1526EAPI int ecore_x_netwm_pid_get(Ecore_X_Window win, int *pid); 1889 Ecore_X_Window win);
1527EAPI void ecore_x_netwm_handled_icons_set(Ecore_X_Window win); 1890EAPI void ecore_x_netwm_client_active_request(
1528EAPI void ecore_x_netwm_handled_icons_get_prefetch(Ecore_X_Window window); 1891 Ecore_X_Window root,
1529EAPI void ecore_x_netwm_handled_icons_get_fetch(void); 1892 Ecore_X_Window win,
1530EAPI int ecore_x_netwm_handled_icons_get(Ecore_X_Window win); 1893 int type,
1531EAPI void ecore_x_netwm_user_time_set(Ecore_X_Window win, unsigned int time); 1894 Ecore_X_Window current_win);
1532EAPI void ecore_x_netwm_user_time_get_prefetch(Ecore_X_Window window); 1895EAPI void ecore_x_netwm_name_set(Ecore_X_Window win,
1533EAPI void ecore_x_netwm_user_time_get_fetch(void); 1896 const char *name);
1534EAPI int ecore_x_netwm_user_time_get(Ecore_X_Window win, unsigned int *time); 1897EAPI void ecore_x_netwm_name_get_prefetch(
1535EAPI void ecore_x_netwm_window_state_set(Ecore_X_Window win, Ecore_X_Window_State *state, unsigned int num); 1898 Ecore_X_Window window);
1536EAPI void ecore_x_netwm_window_state_get_prefetch(Ecore_X_Window window); 1899EAPI void ecore_x_netwm_name_get_fetch(void);
1537EAPI void ecore_x_netwm_window_state_get_fetch(void); 1900EAPI int ecore_x_netwm_name_get(Ecore_X_Window win,
1538EAPI int ecore_x_netwm_window_state_get(Ecore_X_Window win, Ecore_X_Window_State **state, unsigned int *num); 1901 char **name);
1539EAPI void ecore_x_netwm_window_type_set(Ecore_X_Window win, Ecore_X_Window_Type type); 1902EAPI void ecore_x_netwm_startup_id_set(
1540EAPI void ecore_x_netwm_window_type_get_prefetch(Ecore_X_Window window); 1903 Ecore_X_Window win,
1541EAPI void ecore_x_netwm_window_type_get_fetch(void); 1904 const char *id);
1542EAPI int ecore_x_netwm_window_type_get(Ecore_X_Window win, Ecore_X_Window_Type *type); 1905EAPI void ecore_x_netwm_startup_id_get_prefetch(
1543EAPI int ecore_x_netwm_window_types_get(Ecore_X_Window win, Ecore_X_Window_Type **types); 1906 Ecore_X_Window window);
1544EAPI int ecore_x_netwm_allowed_action_isset(Ecore_X_Window win, Ecore_X_Action action); 1907EAPI void ecore_x_netwm_startup_id_get_fetch(void);
1545EAPI void ecore_x_netwm_allowed_action_set(Ecore_X_Window win, Ecore_X_Action *action, unsigned int num); 1908EAPI int ecore_x_netwm_startup_id_get(
1546EAPI void ecore_x_netwm_allowed_action_get_prefetch(Ecore_X_Window window); 1909 Ecore_X_Window win,
1547EAPI void ecore_x_netwm_allowed_action_get_fetch(void); 1910 char **id);
1548EAPI int ecore_x_netwm_allowed_action_get(Ecore_X_Window win, Ecore_X_Action **action, unsigned int *num); 1911EAPI void ecore_x_netwm_visible_name_set(
1549EAPI void ecore_x_netwm_opacity_set(Ecore_X_Window win, unsigned int opacity); 1912 Ecore_X_Window win,
1550EAPI void ecore_x_netwm_opacity_get_prefetch(Ecore_X_Window window); 1913 const char *name);
1551EAPI void ecore_x_netwm_opacity_get_fetch(void); 1914EAPI void ecore_x_netwm_visible_name_get_prefetch(
1552EAPI int ecore_x_netwm_opacity_get(Ecore_X_Window win, unsigned int *opacity); 1915 Ecore_X_Window window);
1553EAPI void ecore_x_netwm_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb); 1916EAPI void ecore_x_netwm_visible_name_get_fetch(void);
1554EAPI void ecore_x_netwm_frame_size_get_prefetch(Ecore_X_Window window); 1917EAPI int ecore_x_netwm_visible_name_get(
1555EAPI void ecore_x_netwm_frame_size_get_fetch(void); 1918 Ecore_X_Window win,
1556EAPI int ecore_x_netwm_frame_size_get(Ecore_X_Window win, int *fl, int *fr, int *ft, int *fb); 1919 char **name);
1557EAPI void ecore_x_netwm_sync_counter_get_prefetch(Ecore_X_Window window); 1920EAPI void ecore_x_netwm_icon_name_set(
1558EAPI void ecore_x_netwm_sync_counter_get_fetch(void); 1921 Ecore_X_Window win,
1559EAPI int ecore_x_netwm_sync_counter_get(Ecore_X_Window win, Ecore_X_Sync_Counter *counter); 1922 const char *name);
1560EAPI void ecore_x_netwm_ping_send(Ecore_X_Window win); 1923EAPI void ecore_x_netwm_icon_name_get_prefetch(
1561EAPI void ecore_x_netwm_sync_request_send(Ecore_X_Window win, unsigned int serial); 1924 Ecore_X_Window window);
1562EAPI void ecore_x_netwm_state_request_send(Ecore_X_Window win, Ecore_X_Window root, Ecore_X_Window_State s1, Ecore_X_Window_State s2, int set); 1925EAPI void ecore_x_netwm_icon_name_get_fetch(void);
1563EAPI void ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop); 1926EAPI int ecore_x_netwm_icon_name_get(
1564 1927 Ecore_X_Window win,
1565 1928 char **name);
1566EAPI void ecore_x_e_init(void); 1929EAPI void ecore_x_netwm_visible_icon_name_set(
1567EAPI void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb); 1930 Ecore_X_Window win,
1568EAPI void ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, unsigned int is_keyboard); 1931 const char *name);
1569EAPI int ecore_x_e_virtual_keyboard_get(Ecore_X_Window win); 1932EAPI void
1570EAPI void ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state); 1933 ecore_x_netwm_visible_icon_name_get_prefetch(Ecore_X_Window window);
1571EAPI Ecore_X_Virtual_Keyboard_State ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win); 1934EAPI void ecore_x_netwm_visible_icon_name_get_fetch(
1572EAPI void ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state); 1935 void);
1936EAPI int ecore_x_netwm_visible_icon_name_get(
1937 Ecore_X_Window win,
1938 char **name);
1939EAPI void ecore_x_netwm_desktop_set(
1940 Ecore_X_Window win,
1941 unsigned int desk);
1942EAPI void ecore_x_netwm_desktop_get_prefetch(
1943 Ecore_X_Window window);
1944EAPI void ecore_x_netwm_desktop_get_fetch(void);
1945EAPI int ecore_x_netwm_desktop_get(
1946 Ecore_X_Window win,
1947 unsigned int *desk);
1948EAPI void ecore_x_netwm_strut_set(Ecore_X_Window win,
1949 int left,
1950 int right,
1951 int top,
1952 int bottom);
1953EAPI void ecore_x_netwm_strut_get_prefetch(
1954 Ecore_X_Window window);
1955EAPI void ecore_x_netwm_strut_get_fetch(void);
1956EAPI int ecore_x_netwm_strut_get(Ecore_X_Window win,
1957 int *left,
1958 int *right,
1959 int *top,
1960 int *bottom);
1961EAPI void ecore_x_netwm_strut_partial_set(
1962 Ecore_X_Window win,
1963 int left,
1964 int right,
1965 int top,
1966 int bottom,
1967 int left_start_y,
1968 int left_end_y,
1969 int right_start_y,
1970 int right_end_y,
1971 int top_start_x,
1972 int top_end_x,
1973 int bottom_start_x,
1974 int bottom_end_x);
1975EAPI void ecore_x_netwm_strut_partial_get_prefetch(
1976 Ecore_X_Window window);
1977EAPI void ecore_x_netwm_strut_partial_get_fetch(void);
1978EAPI int ecore_x_netwm_strut_partial_get(
1979 Ecore_X_Window win,
1980 int *left,
1981 int *right,
1982 int *top,
1983 int *bottom,
1984 int *left_start_y,
1985 int *left_end_y,
1986 int *right_start_y,
1987 int *right_end_y,
1988 int *top_start_x,
1989 int *top_end_x,
1990 int *bottom_start_x,
1991 int *bottom_end_x);
1992EAPI void ecore_x_netwm_icons_get_prefetch(
1993 Ecore_X_Window window);
1994EAPI void ecore_x_netwm_icons_get_fetch(void);
1995EAPI int ecore_x_netwm_icons_get(Ecore_X_Window win,
1996 Ecore_X_Icon **icon,
1997 int *num);
1998EAPI void ecore_x_netwm_icon_geometry_set(
1999 Ecore_X_Window win,
2000 int x,
2001 int y,
2002 int width,
2003 int height);
2004EAPI void ecore_x_netwm_icon_geometry_get_prefetch(
2005 Ecore_X_Window window);
2006EAPI void ecore_x_netwm_icon_geometry_get_fetch(void);
2007EAPI int ecore_x_netwm_icon_geometry_get(
2008 Ecore_X_Window win,
2009 int *x,
2010 int *y,
2011 int *width,
2012 int *height);
2013EAPI void ecore_x_netwm_pid_set(Ecore_X_Window win,
2014 int pid);
2015EAPI void ecore_x_netwm_pid_get_prefetch(
2016 Ecore_X_Window window);
2017EAPI void ecore_x_netwm_pid_get_fetch(void);
2018EAPI int ecore_x_netwm_pid_get(Ecore_X_Window win,
2019 int *pid);
2020EAPI void ecore_x_netwm_handled_icons_set(
2021 Ecore_X_Window win);
2022EAPI void ecore_x_netwm_handled_icons_get_prefetch(
2023 Ecore_X_Window window);
2024EAPI void ecore_x_netwm_handled_icons_get_fetch(void);
2025EAPI int ecore_x_netwm_handled_icons_get(
2026 Ecore_X_Window win);
2027EAPI void ecore_x_netwm_user_time_set(
2028 Ecore_X_Window win,
2029 unsigned int time);
2030EAPI void ecore_x_netwm_user_time_get_prefetch(
2031 Ecore_X_Window window);
2032EAPI void ecore_x_netwm_user_time_get_fetch(void);
2033EAPI int ecore_x_netwm_user_time_get(
2034 Ecore_X_Window win,
2035 unsigned int *time);
2036EAPI void ecore_x_netwm_window_state_set(
2037 Ecore_X_Window win,
2038 Ecore_X_Window_State *state,
2039 unsigned int num);
2040EAPI void ecore_x_netwm_window_state_get_prefetch(
2041 Ecore_X_Window window);
2042EAPI void ecore_x_netwm_window_state_get_fetch(void);
2043EAPI int ecore_x_netwm_window_state_get(
2044 Ecore_X_Window win,
2045 Ecore_X_Window_State **state,
2046 unsigned int *num);
2047EAPI void ecore_x_netwm_window_type_set(
2048 Ecore_X_Window win,
2049 Ecore_X_Window_Type type);
2050EAPI void ecore_x_netwm_window_type_get_prefetch(
2051 Ecore_X_Window window);
2052EAPI void ecore_x_netwm_window_type_get_fetch(void);
2053EAPI int ecore_x_netwm_window_type_get(
2054 Ecore_X_Window win,
2055 Ecore_X_Window_Type *type);
2056EAPI int ecore_x_netwm_window_types_get(
2057 Ecore_X_Window win,
2058 Ecore_X_Window_Type **types);
2059EAPI int ecore_x_netwm_allowed_action_isset(
2060 Ecore_X_Window win,
2061 Ecore_X_Action action);
2062EAPI void ecore_x_netwm_allowed_action_set(
2063 Ecore_X_Window win,
2064 Ecore_X_Action *action,
2065 unsigned int num);
2066EAPI void ecore_x_netwm_allowed_action_get_prefetch(
2067 Ecore_X_Window window);
2068EAPI void ecore_x_netwm_allowed_action_get_fetch(
2069 void);
2070EAPI int ecore_x_netwm_allowed_action_get(
2071 Ecore_X_Window win,
2072 Ecore_X_Action **action,
2073 unsigned int *num);
2074EAPI void ecore_x_netwm_opacity_set(
2075 Ecore_X_Window win,
2076 unsigned int opacity);
2077EAPI void ecore_x_netwm_opacity_get_prefetch(
2078 Ecore_X_Window window);
2079EAPI void ecore_x_netwm_opacity_get_fetch(void);
2080EAPI int ecore_x_netwm_opacity_get(
2081 Ecore_X_Window win,
2082 unsigned int *opacity);
2083EAPI void ecore_x_netwm_frame_size_set(
2084 Ecore_X_Window win,
2085 int fl,
2086 int fr,
2087 int ft,
2088 int fb);
2089EAPI void ecore_x_netwm_frame_size_get_prefetch(
2090 Ecore_X_Window window);
2091EAPI void ecore_x_netwm_frame_size_get_fetch(void);
2092EAPI int ecore_x_netwm_frame_size_get(
2093 Ecore_X_Window win,
2094 int *fl,
2095 int *fr,
2096 int *ft,
2097 int *fb);
2098EAPI void ecore_x_netwm_sync_counter_get_prefetch(
2099 Ecore_X_Window window);
2100EAPI void ecore_x_netwm_sync_counter_get_fetch(void);
2101EAPI int ecore_x_netwm_sync_counter_get(
2102 Ecore_X_Window win,
2103 Ecore_X_Sync_Counter *counter);
2104EAPI void ecore_x_netwm_ping_send(Ecore_X_Window win);
2105EAPI void ecore_x_netwm_sync_request_send(
2106 Ecore_X_Window win,
2107 unsigned int serial);
2108EAPI void ecore_x_netwm_state_request_send(
2109 Ecore_X_Window win,
2110 Ecore_X_Window root,
2111 Ecore_X_Window_State s1,
2112 Ecore_X_Window_State s2,
2113 int set);
2114EAPI void ecore_x_netwm_desktop_request_send(
2115 Ecore_X_Window win,
2116 Ecore_X_Window root,
2117 unsigned int desktop);
2118
2119
2120EAPI void ecore_x_e_init(void);
2121EAPI void ecore_x_e_frame_size_set(
2122 Ecore_X_Window win,
2123 int fl,
2124 int fr,
2125 int ft,
2126 int fb);
2127EAPI void ecore_x_e_virtual_keyboard_set(
2128 Ecore_X_Window win,
2129 unsigned int is_keyboard);
2130EAPI int ecore_x_e_virtual_keyboard_get(
2131 Ecore_X_Window win);
2132EAPI void ecore_x_e_virtual_keyboard_state_set(
2133 Ecore_X_Window win,
2134 Ecore_X_Virtual_Keyboard_State state);
2135EAPI Ecore_X_Virtual_Keyboard_State ecore_x_e_virtual_keyboard_state_get(
2136 Ecore_X_Window win);
2137EAPI void ecore_x_e_virtual_keyboard_state_send(
2138 Ecore_X_Window win,
2139 Ecore_X_Virtual_Keyboard_State state);
1573 2140
1574 2141
1575/* Illume functions */ 2142/* Illume functions */
1576EAPI void ecore_x_e_illume_zone_set(Ecore_X_Window win, Ecore_X_Window zone); 2143EAPI void ecore_x_e_illume_zone_set(
1577EAPI Ecore_X_Window ecore_x_e_illume_zone_get(Ecore_X_Window win); 2144 Ecore_X_Window win,
1578EAPI void ecore_x_e_illume_zone_list_set(Ecore_X_Window win, Ecore_X_Window *zones, unsigned int n_zones); 2145 Ecore_X_Window zone);
1579EAPI void ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant); 2146EAPI Ecore_X_Window ecore_x_e_illume_zone_get(
1580EAPI int ecore_x_e_illume_conformant_get(Ecore_X_Window win); 2147 Ecore_X_Window win);
1581EAPI void ecore_x_e_illume_mode_set(Ecore_X_Window win, Ecore_X_Illume_Mode mode); 2148EAPI void ecore_x_e_illume_zone_list_set(
1582EAPI Ecore_X_Illume_Mode ecore_x_e_illume_mode_get(Ecore_X_Window win); 2149 Ecore_X_Window win,
1583EAPI void ecore_x_e_illume_mode_send(Ecore_X_Window win, Ecore_X_Illume_Mode mode); 2150 Ecore_X_Window *zones,
1584EAPI void ecore_x_e_illume_focus_back_send(Ecore_X_Window win); 2151 unsigned int n_zones);
1585EAPI void ecore_x_e_illume_focus_forward_send(Ecore_X_Window win); 2152EAPI void ecore_x_e_illume_conformant_set(
1586EAPI void ecore_x_e_illume_focus_home_send(Ecore_X_Window win); 2153 Ecore_X_Window win,
1587EAPI void ecore_x_e_illume_close_send(Ecore_X_Window win); 2154 unsigned int is_conformant);
1588EAPI void ecore_x_e_illume_home_new_send(Ecore_X_Window win); 2155EAPI int ecore_x_e_illume_conformant_get(
1589EAPI void ecore_x_e_illume_home_del_send(Ecore_X_Window win); 2156 Ecore_X_Window win);
1590EAPI void ecore_x_e_illume_drag_set(Ecore_X_Window win, unsigned int drag); 2157EAPI void ecore_x_e_illume_mode_set(
1591EAPI int ecore_x_e_illume_drag_get(Ecore_X_Window win); 2158 Ecore_X_Window win,
1592EAPI void ecore_x_e_illume_drag_locked_set(Ecore_X_Window win, unsigned int is_locked); 2159 Ecore_X_Illume_Mode mode);
1593EAPI int ecore_x_e_illume_drag_locked_get(Ecore_X_Window win); 2160EAPI Ecore_X_Illume_Mode ecore_x_e_illume_mode_get(
1594EAPI void ecore_x_e_illume_drag_start_send(Ecore_X_Window win); 2161 Ecore_X_Window win);
1595EAPI void ecore_x_e_illume_drag_end_send(Ecore_X_Window win); 2162EAPI void ecore_x_e_illume_mode_send(
1596EAPI void ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, int x, int y, int w, int h); 2163 Ecore_X_Window win,
1597EAPI int ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h); 2164 Ecore_X_Illume_Mode mode);
1598EAPI void ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, int x, int y, int w, int h); 2165EAPI void ecore_x_e_illume_focus_back_send(
1599EAPI int ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h); 2166 Ecore_X_Window win);
1600EAPI void ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, int x, int y, int w, int h); 2167EAPI void ecore_x_e_illume_focus_forward_send(
1601EAPI int ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h); 2168 Ecore_X_Window win);
1602EAPI void ecore_x_e_illume_quickpanel_set(Ecore_X_Window win, unsigned int is_quickpanel); 2169EAPI void ecore_x_e_illume_focus_home_send(
1603EAPI int ecore_x_e_illume_quickpanel_get(Ecore_X_Window win); 2170 Ecore_X_Window win);
1604EAPI void ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win, Ecore_X_Illume_Quickpanel_State state); 2171EAPI void ecore_x_e_illume_close_send(
1605EAPI Ecore_X_Illume_Quickpanel_State ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win); 2172 Ecore_X_Window win);
1606EAPI void ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win, Ecore_X_Illume_Quickpanel_State state); 2173EAPI void ecore_x_e_illume_home_new_send(
1607EAPI void ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win); 2174 Ecore_X_Window win);
1608EAPI void ecore_x_e_illume_quickpanel_priority_major_set(Ecore_X_Window win, unsigned int priority); 2175EAPI void ecore_x_e_illume_home_del_send(
1609EAPI int ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win); 2176 Ecore_X_Window win);
1610EAPI void ecore_x_e_illume_quickpanel_priority_minor_set(Ecore_X_Window win, unsigned int priority); 2177EAPI void ecore_x_e_illume_drag_set(
1611EAPI int ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win); 2178 Ecore_X_Window win,
1612EAPI void ecore_x_e_illume_quickpanel_zone_set(Ecore_X_Window win, unsigned int zone); 2179 unsigned int drag);
1613EAPI int ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win); 2180EAPI int ecore_x_e_illume_drag_get(
1614EAPI void ecore_x_e_illume_quickpanel_zone_request_send(Ecore_X_Window win); 2181 Ecore_X_Window win);
1615EAPI void ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win); 2182EAPI void ecore_x_e_illume_drag_locked_set(
1616 2183 Ecore_X_Window win,
1617EAPI void ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, Ecore_X_Sync_Counter counter); 2184 unsigned int is_locked);
1618EAPI Ecore_X_Sync_Counter ecore_x_e_comp_sync_counter_get(Ecore_X_Window win); 2185EAPI int ecore_x_e_illume_drag_locked_get(
1619EAPI void ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, Ecore_X_Window win); 2186 Ecore_X_Window win);
1620EAPI void ecore_x_e_comp_sync_supported_set(Ecore_X_Window root, Eina_Bool enabled); 2187EAPI void ecore_x_e_illume_drag_start_send(
1621EAPI Eina_Bool ecore_x_e_comp_sync_supported_get(Ecore_X_Window root); 2188 Ecore_X_Window win);
1622EAPI void ecore_x_e_comp_sync_begin_send(Ecore_X_Window win); 2189EAPI void ecore_x_e_illume_drag_end_send(
1623EAPI void ecore_x_e_comp_sync_end_send(Ecore_X_Window win); 2190 Ecore_X_Window win);
1624EAPI void ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win); 2191EAPI void ecore_x_e_illume_indicator_geometry_set(
1625 2192 Ecore_X_Window win,
1626EAPI void ecore_x_e_comp_flush_send(Ecore_X_Window win); 2193 int x,
1627EAPI void ecore_x_e_comp_dump_send(Ecore_X_Window win); 2194 int y,
1628EAPI void ecore_x_e_comp_pixmap_set(Ecore_X_Window win, Ecore_X_Pixmap pixmap); 2195 int w,
1629EAPI Ecore_X_Pixmap ecore_x_e_comp_pixmap_get(Ecore_X_Window win); 2196 int h);
1630 2197EAPI int ecore_x_e_illume_indicator_geometry_get(
1631EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new(Ecore_X_Sync_Counter counter); 2198 Ecore_X_Window win,
1632EAPI int ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm); 2199 int *x,
1633EAPI int ecore_x_sync_counter_query(Ecore_X_Sync_Counter counter, unsigned int *val); 2200 int *y,
1634EAPI Ecore_X_Sync_Counter ecore_x_sync_counter_new(int val); 2201 int *w,
1635EAPI void ecore_x_sync_counter_free(Ecore_X_Sync_Counter counter); 2202 int *h);
1636EAPI void ecore_x_sync_counter_inc(Ecore_X_Sync_Counter counter, int by); 2203EAPI void ecore_x_e_illume_softkey_geometry_set(
1637EAPI void ecore_x_sync_counter_val_wait(Ecore_X_Sync_Counter counter, int val); 2204 Ecore_X_Window win,
1638 2205 int x,
1639EAPI void ecore_x_xinerama_query_screens_prefetch(void); 2206 int y,
1640EAPI void ecore_x_xinerama_query_screens_fetch(void); 2207 int w,
1641EAPI int ecore_x_xinerama_screen_count_get(void); 2208 int h);
1642EAPI int ecore_x_xinerama_screen_geometry_get(int screen, int *x, int *y, int *w, int *h); 2209EAPI int ecore_x_e_illume_softkey_geometry_get(
1643 2210 Ecore_X_Window win,
1644EAPI int ecore_x_screensaver_event_available_get(void); 2211 int *x,
1645EAPI void ecore_x_screensaver_idle_time_prefetch(void); 2212 int *y,
1646EAPI void ecore_x_screensaver_idle_time_fetch(void); 2213 int *w,
1647EAPI int ecore_x_screensaver_idle_time_get(void); 2214 int *h);
1648EAPI void ecore_x_get_screensaver_prefetch(void); 2215EAPI void ecore_x_e_illume_keyboard_geometry_set(
1649EAPI void ecore_x_get_screensaver_fetch(void); 2216 Ecore_X_Window win,
1650EAPI void ecore_x_screensaver_set(int timeout, int interval, int prefer_blanking, int allow_exposures); 2217 int x,
1651EAPI void ecore_x_screensaver_timeout_set(int timeout); 2218 int y,
1652EAPI int ecore_x_screensaver_timeout_get(void); 2219 int w,
1653EAPI void ecore_x_screensaver_blank_set(int timeout); 2220 int h);
1654EAPI int ecore_x_screensaver_blank_get(void); 2221EAPI int ecore_x_e_illume_keyboard_geometry_get(
1655EAPI void ecore_x_screensaver_expose_set(int timeout); 2222 Ecore_X_Window win,
1656EAPI int ecore_x_screensaver_expose_get(void); 2223 int *x,
1657EAPI void ecore_x_screensaver_interval_set(int timeout); 2224 int *y,
1658EAPI int ecore_x_screensaver_interval_get(void); 2225 int *w,
1659EAPI void ecore_x_screensaver_event_listen_set(int on); 2226 int *h);
2227EAPI void ecore_x_e_illume_quickpanel_set(
2228 Ecore_X_Window win,
2229 unsigned int is_quickpanel);
2230EAPI int ecore_x_e_illume_quickpanel_get(
2231 Ecore_X_Window win);
2232EAPI void ecore_x_e_illume_quickpanel_state_set(
2233 Ecore_X_Window win,
2234 Ecore_X_Illume_Quickpanel_State state);
2235EAPI Ecore_X_Illume_Quickpanel_State ecore_x_e_illume_quickpanel_state_get(
2236 Ecore_X_Window win);
2237EAPI void ecore_x_e_illume_quickpanel_state_send(
2238 Ecore_X_Window win,
2239 Ecore_X_Illume_Quickpanel_State state);
2240EAPI void ecore_x_e_illume_quickpanel_state_toggle(
2241 Ecore_X_Window win);
2242EAPI void
2243 ecore_x_e_illume_quickpanel_priority_major_set(
2244 Ecore_X_Window win,
2245 unsigned int priority);
2246EAPI int
2247 ecore_x_e_illume_quickpanel_priority_major_get(
2248 Ecore_X_Window win);
2249EAPI void
2250 ecore_x_e_illume_quickpanel_priority_minor_set(
2251 Ecore_X_Window win,
2252 unsigned int priority);
2253EAPI int
2254 ecore_x_e_illume_quickpanel_priority_minor_get(
2255 Ecore_X_Window win);
2256EAPI void ecore_x_e_illume_quickpanel_zone_set(
2257 Ecore_X_Window win,
2258 unsigned int zone);
2259EAPI int ecore_x_e_illume_quickpanel_zone_get(
2260 Ecore_X_Window win);
2261EAPI void
2262 ecore_x_e_illume_quickpanel_zone_request_send(
2263 Ecore_X_Window win);
2264EAPI void
2265 ecore_x_e_illume_quickpanel_position_update_send(
2266 Ecore_X_Window win);
2267
2268EAPI void ecore_x_e_comp_sync_counter_set(
2269 Ecore_X_Window win,
2270 Ecore_X_Sync_Counter counter);
2271EAPI Ecore_X_Sync_Counter ecore_x_e_comp_sync_counter_get(
2272 Ecore_X_Window win);
2273EAPI void ecore_x_e_comp_sync_draw_done_send(
2274 Ecore_X_Window root,
2275 Ecore_X_Window win);
2276EAPI void ecore_x_e_comp_sync_supported_set(
2277 Ecore_X_Window root,
2278 Eina_Bool enabled);
2279EAPI Eina_Bool ecore_x_e_comp_sync_supported_get(
2280 Ecore_X_Window root);
2281EAPI void ecore_x_e_comp_sync_begin_send(
2282 Ecore_X_Window win);
2283EAPI void ecore_x_e_comp_sync_end_send(
2284 Ecore_X_Window win);
2285EAPI void ecore_x_e_comp_sync_cancel_send(
2286 Ecore_X_Window win);
2287
2288EAPI void ecore_x_e_comp_flush_send(
2289 Ecore_X_Window win);
2290EAPI void ecore_x_e_comp_dump_send(
2291 Ecore_X_Window win);
2292EAPI void ecore_x_e_comp_pixmap_set(
2293 Ecore_X_Window win,
2294 Ecore_X_Pixmap pixmap);
2295EAPI Ecore_X_Pixmap ecore_x_e_comp_pixmap_get(
2296 Ecore_X_Window win);
2297
2298EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new(
2299 Ecore_X_Sync_Counter counter);
2300EAPI int ecore_x_sync_alarm_free(
2301 Ecore_X_Sync_Alarm alarm);
2302EAPI int ecore_x_sync_counter_query(
2303 Ecore_X_Sync_Counter counter,
2304 unsigned int *val);
2305EAPI Ecore_X_Sync_Counter ecore_x_sync_counter_new(int val);
2306EAPI void ecore_x_sync_counter_free(
2307 Ecore_X_Sync_Counter counter);
2308EAPI void ecore_x_sync_counter_inc(
2309 Ecore_X_Sync_Counter counter,
2310 int by);
2311EAPI void ecore_x_sync_counter_val_wait(
2312 Ecore_X_Sync_Counter counter,
2313 int val);
2314
2315EAPI void ecore_x_xinerama_query_screens_prefetch(
2316 void);
2317EAPI void ecore_x_xinerama_query_screens_fetch(void);
2318EAPI int ecore_x_xinerama_screen_count_get(void);
2319EAPI int ecore_x_xinerama_screen_geometry_get(
2320 int screen,
2321 int *x,
2322 int *y,
2323 int *w,
2324 int *h);
2325
2326EAPI int ecore_x_screensaver_event_available_get(
2327 void);
2328EAPI void ecore_x_screensaver_idle_time_prefetch(
2329 void);
2330EAPI void ecore_x_screensaver_idle_time_fetch(void);
2331EAPI int ecore_x_screensaver_idle_time_get(void);
2332EAPI void ecore_x_get_screensaver_prefetch(void);
2333EAPI void ecore_x_get_screensaver_fetch(void);
2334EAPI void ecore_x_screensaver_set(int timeout,
2335 int interval,
2336 int prefer_blanking,
2337 int allow_exposures);
2338EAPI void ecore_x_screensaver_timeout_set(
2339 int timeout);
2340EAPI int ecore_x_screensaver_timeout_get(void);
2341EAPI void ecore_x_screensaver_blank_set(int timeout);
2342EAPI int ecore_x_screensaver_blank_get(void);
2343EAPI void ecore_x_screensaver_expose_set(int timeout);
2344EAPI int ecore_x_screensaver_expose_get(void);
2345EAPI void ecore_x_screensaver_interval_set(
2346 int timeout);
2347EAPI int ecore_x_screensaver_interval_get(void);
2348EAPI void ecore_x_screensaver_event_listen_set(
2349 int on);
1660 2350
1661/* FIXME: these funcs need categorising */ 2351/* FIXME: these funcs need categorising */
1662 2352
1663typedef struct _Ecore_X_Window_Attributes 2353typedef struct _Ecore_X_Window_Attributes
1664{ 2354{
1665 Ecore_X_Window root; 2355 Ecore_X_Window root;
1666 int x, y, w, h; 2356 int x, y, w, h;
1667 int border; 2357 int border;
1668 int depth; 2358 int depth;
1669 unsigned char visible : 1; 2359 unsigned char visible : 1;
1670 unsigned char viewable : 1; 2360 unsigned char viewable : 1;
1671 unsigned char override : 1; 2361 unsigned char override : 1;
1672 unsigned char input_only : 1; 2362 unsigned char input_only : 1;
1673 unsigned char save_under : 1; 2363 unsigned char save_under : 1;
1674 struct { 2364 struct
2365 {
1675 Ecore_X_Event_Mask mine; 2366 Ecore_X_Event_Mask mine;
1676 Ecore_X_Event_Mask all; 2367 Ecore_X_Event_Mask all;
1677 Ecore_X_Event_Mask no_propagate; 2368 Ecore_X_Event_Mask no_propagate;
1678 } event_mask; 2369 } event_mask;
1679 Ecore_X_Gravity window_gravity; 2370 Ecore_X_Gravity window_gravity;
1680 Ecore_X_Gravity pixel_gravity; 2371 Ecore_X_Gravity pixel_gravity;
1681 Ecore_X_Colormap colormap; 2372 Ecore_X_Colormap colormap;
1682 Ecore_X_Visual visual; 2373 Ecore_X_Visual visual;
1683 /* FIXME: missing 2374 /* FIXME: missing
1684 * int map_installed; 2375 * int map_installed;
1685 * Screen *screen; 2376 * Screen *screen;
1686 */ 2377 */
1687} Ecore_X_Window_Attributes; 2378} Ecore_X_Window_Attributes;
1688 2379
1689EAPI void ecore_x_get_window_attributes_prefetch(Ecore_X_Window window); 2380EAPI void ecore_x_get_window_attributes_prefetch(
1690EAPI void ecore_x_get_window_attributes_fetch(void); 2381 Ecore_X_Window window);
1691EAPI int ecore_x_window_attributes_get(Ecore_X_Window win, Ecore_X_Window_Attributes *att_ret); 2382EAPI void ecore_x_get_window_attributes_fetch(void);
1692EAPI void ecore_x_window_save_set_add(Ecore_X_Window win); 2383EAPI int ecore_x_window_attributes_get(
1693EAPI void ecore_x_window_save_set_del(Ecore_X_Window win); 2384 Ecore_X_Window win,
1694EAPI Ecore_X_Window *ecore_x_window_children_get(Ecore_X_Window win, int *num); 2385 Ecore_X_Window_Attributes *
1695 2386 att_ret);
1696EAPI int ecore_x_pointer_control_set(int accel_num, int accel_denom, int threshold); 2387EAPI void ecore_x_window_save_set_add(Ecore_X_Window win);
1697EAPI void ecore_x_pointer_control_get_prefetch(void); 2388EAPI void ecore_x_window_save_set_del(Ecore_X_Window win);
1698EAPI void ecore_x_pointer_control_get_fetch(void); 2389EAPI Ecore_X_Window * ecore_x_window_children_get(Ecore_X_Window win, int *num);
1699EAPI int ecore_x_pointer_control_get(int *accel_num, int *accel_denom, int *threshold); 2390
1700EAPI int ecore_x_pointer_mapping_set(unsigned char *map, int nmap); 2391EAPI int ecore_x_pointer_control_set(int accel_num,
1701EAPI void ecore_x_pointer_mapping_get_prefetch(void); 2392 int accel_denom,
1702EAPI void ecore_x_pointer_mapping_get_fetch(void); 2393 int threshold);
1703EAPI int ecore_x_pointer_mapping_get(unsigned char *map, int nmap); 2394EAPI void ecore_x_pointer_control_get_prefetch(void);
1704EAPI int ecore_x_pointer_grab(Ecore_X_Window win); 2395EAPI void ecore_x_pointer_control_get_fetch(void);
1705EAPI int ecore_x_pointer_confine_grab(Ecore_X_Window win); 2396EAPI int ecore_x_pointer_control_get(int *accel_num,
1706EAPI void ecore_x_pointer_ungrab(void); 2397 int *accel_denom,
1707EAPI int ecore_x_pointer_warp(Ecore_X_Window win, int x, int y); 2398 int *threshold);
1708EAPI int ecore_x_keyboard_grab(Ecore_X_Window win); 2399EAPI int ecore_x_pointer_mapping_set(unsigned char *map, int nmap);
1709EAPI void ecore_x_keyboard_ungrab(void); 2400EAPI void ecore_x_pointer_mapping_get_prefetch(void);
1710EAPI void ecore_x_grab(void); 2401EAPI void ecore_x_pointer_mapping_get_fetch(void);
1711EAPI void ecore_x_ungrab(void); 2402EAPI int ecore_x_pointer_mapping_get(unsigned char *map, int nmap);
1712EAPI void ecore_x_passive_grab_replay_func_set(Eina_Bool (*func) (void *data, int event_type, void *event), void *data); 2403EAPI int ecore_x_pointer_grab(Ecore_X_Window win);
1713EAPI void ecore_x_window_button_grab(Ecore_X_Window win, int button, 2404EAPI int ecore_x_pointer_confine_grab(Ecore_X_Window win);
1714 Ecore_X_Event_Mask event_mask, 2405EAPI void ecore_x_pointer_ungrab(void);
1715 int mod, int any_mod); 2406EAPI int ecore_x_pointer_warp(Ecore_X_Window win, int x, int y);
1716EAPI void ecore_x_window_button_ungrab(Ecore_X_Window win, int button, 2407EAPI int ecore_x_keyboard_grab(Ecore_X_Window win);
1717 int mod, int any_mod); 2408EAPI void ecore_x_keyboard_ungrab(void);
1718EAPI void ecore_x_window_key_grab(Ecore_X_Window win, const char *key, 2409EAPI void ecore_x_grab(void);
1719 int mod, int any_mod); 2410EAPI void ecore_x_ungrab(void);
1720EAPI void ecore_x_window_key_ungrab(Ecore_X_Window win, const char *key, 2411EAPI void ecore_x_passive_grab_replay_func_set(Eina_Bool (*func)(void *data,
1721 int mod, int any_mod); 2412 int event_type,
1722 2413 void *event),
1723EAPI void ecore_x_focus_reset(void); 2414 void *data);
1724EAPI void ecore_x_events_allow_all(void); 2415EAPI void ecore_x_window_button_grab(Ecore_X_Window win, int button,
1725EAPI void ecore_x_pointer_last_xy_get(int *x, int *y); 2416 Ecore_X_Event_Mask event_mask,
1726EAPI void ecore_x_pointer_xy_get_prefetch(Ecore_X_Window window); 2417 int mod, int any_mod);
1727EAPI void ecore_x_pointer_xy_get_fetch(void); 2418EAPI void ecore_x_window_button_ungrab(Ecore_X_Window win,
1728EAPI void ecore_x_pointer_xy_get(Ecore_X_Window win, int *x, int *y); 2419 int button,
2420 int mod,
2421 int any_mod);
2422EAPI void ecore_x_window_key_grab(Ecore_X_Window win,
2423 const char *key,
2424 int mod,
2425 int any_mod);
2426EAPI void ecore_x_window_key_ungrab(Ecore_X_Window win,
2427 const char *key,
2428 int mod,
2429 int any_mod);
2430
2431EAPI void ecore_x_focus_reset(void);
2432EAPI void ecore_x_events_allow_all(void);
2433EAPI void ecore_x_pointer_last_xy_get(int *x, int *y);
2434EAPI void ecore_x_pointer_xy_get_prefetch(Ecore_X_Window window);
2435EAPI void ecore_x_pointer_xy_get_fetch(void);
2436EAPI void ecore_x_pointer_xy_get(Ecore_X_Window win, int *x, int *y);
1729 2437
1730/* ecore_x_region.c */ 2438/* ecore_x_region.c */
1731EAPI Ecore_X_XRegion *ecore_x_xregion_new(); 2439EAPI Ecore_X_XRegion *ecore_x_xregion_new();
1732EAPI void ecore_x_xregion_free(Ecore_X_XRegion *region); 2440EAPI void ecore_x_xregion_free(Ecore_X_XRegion *region);
1733EAPI int ecore_x_xregion_set(Ecore_X_XRegion *region, Ecore_X_GC gc); 2441EAPI int ecore_x_xregion_set(Ecore_X_XRegion *region,
1734EAPI void ecore_x_xregion_translate(Ecore_X_XRegion *region, int x, int y); 2442 Ecore_X_GC gc);
1735EAPI int ecore_x_xregion_intersect(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2); 2443EAPI void ecore_x_xregion_translate(Ecore_X_XRegion *region,
1736EAPI int ecore_x_xregion_union(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2); 2444 int x,
1737EAPI int ecore_x_xregion_union_rect(Ecore_X_XRegion *dst, Ecore_X_XRegion *src, Ecore_X_Rectangle *rect); 2445 int y);
1738EAPI int ecore_x_xregion_subtract(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2); 2446EAPI int ecore_x_xregion_intersect(Ecore_X_XRegion *dst,
2447 Ecore_X_XRegion *r1,
2448 Ecore_X_XRegion *r2);
2449EAPI int ecore_x_xregion_union(Ecore_X_XRegion *dst,
2450 Ecore_X_XRegion *r1,
2451 Ecore_X_XRegion *r2);
2452EAPI int ecore_x_xregion_union_rect(Ecore_X_XRegion *dst,
2453 Ecore_X_XRegion *src,
2454 Ecore_X_Rectangle *rect);
2455EAPI int ecore_x_xregion_subtract(Ecore_X_XRegion *dst,
2456 Ecore_X_XRegion *r1,
2457 Ecore_X_XRegion *r2);
1739EAPI int ecore_x_xregion_is_empty(Ecore_X_XRegion *region); 2458EAPI int ecore_x_xregion_is_empty(Ecore_X_XRegion *region);
1740EAPI int ecore_x_xregion_is_equal(Ecore_X_XRegion *r1, Ecore_X_XRegion *r2); 2459EAPI int ecore_x_xregion_is_equal(Ecore_X_XRegion *r1,
1741EAPI int ecore_x_xregion_point_contain(Ecore_X_XRegion *region, int x, int y); 2460 Ecore_X_XRegion *r2);
1742EAPI int ecore_x_xregion_rect_contain(Ecore_X_XRegion *region, Ecore_X_Rectangle *rect); 2461EAPI int ecore_x_xregion_point_contain(Ecore_X_XRegion *region,
2462 int x,
2463 int y);
2464EAPI int ecore_x_xregion_rect_contain(Ecore_X_XRegion *region,
2465 Ecore_X_Rectangle *rect);
1743 2466
1744/* ecore_x_randr.c */ 2467/* ecore_x_randr.c */
1745typedef struct _Ecore_X_Screen_Size Ecore_X_Screen_Size; 2468typedef struct _Ecore_X_Screen_Size Ecore_X_Screen_Size;
@@ -1754,129 +2477,222 @@ struct _Ecore_X_Screen_Refresh_Rate
1754 int rate; 2477 int rate;
1755}; 2478};
1756 2479
1757EAPI int ecore_x_randr_query(void); 2480EAPI int ecore_x_randr_query(void);
1758EAPI int ecore_x_randr_events_select(Ecore_X_Window win, int on); 2481EAPI int ecore_x_randr_events_select(
1759EAPI void ecore_x_randr_get_screen_info_prefetch(Ecore_X_Window window); 2482 Ecore_X_Window win,
1760EAPI void ecore_x_randr_get_screen_info_fetch(void); 2483 int on);
1761EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotations_get(Ecore_X_Window root); 2484EAPI void ecore_x_randr_get_screen_info_prefetch(
1762EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotation_get(Ecore_X_Window root); 2485 Ecore_X_Window window);
1763EAPI void ecore_x_randr_screen_rotation_set(Ecore_X_Window root, Ecore_X_Randr_Rotation rot); 2486EAPI void ecore_x_randr_get_screen_info_fetch(void);
1764EAPI Ecore_X_Screen_Size *ecore_x_randr_screen_sizes_get(Ecore_X_Window root, int *num); 2487EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotations_get(
1765EAPI Ecore_X_Screen_Size ecore_x_randr_current_screen_size_get(Ecore_X_Window root); 2488 Ecore_X_Window root);
1766EAPI int ecore_x_randr_screen_size_set(Ecore_X_Window root, Ecore_X_Screen_Size size); 2489EAPI Ecore_X_Randr_Rotation ecore_x_randr_screen_rotation_get(
1767 2490 Ecore_X_Window root);
1768EAPI Ecore_X_Screen_Refresh_Rate *ecore_x_randr_screen_refresh_rates_get(Ecore_X_Window root, int size_id, int *num); 2491EAPI void ecore_x_randr_screen_rotation_set(
1769EAPI Ecore_X_Screen_Refresh_Rate ecore_x_randr_current_screen_refresh_rate_get(Ecore_X_Window root); 2492 Ecore_X_Window root,
1770 2493 Ecore_X_Randr_Rotation rot);
1771EAPI int ecore_x_randr_screen_refresh_rate_set(Ecore_X_Window root, Ecore_X_Screen_Size size, Ecore_X_Screen_Refresh_Rate rate); 2494EAPI Ecore_X_Screen_Size * ecore_x_randr_screen_sizes_get(
2495 Ecore_X_Window root,
2496 int *num);
2497EAPI Ecore_X_Screen_Size ecore_x_randr_current_screen_size_get(
2498 Ecore_X_Window root);
2499EAPI int ecore_x_randr_screen_size_set(
2500 Ecore_X_Window root,
2501 Ecore_X_Screen_Size size);
2502
2503EAPI Ecore_X_Screen_Refresh_Rate *ecore_x_randr_screen_refresh_rates_get(
2504 Ecore_X_Window root,
2505 int size_id,
2506 int *num);
2507EAPI Ecore_X_Screen_Refresh_Rate ecore_x_randr_current_screen_refresh_rate_get(
2508 Ecore_X_Window root);
2509
2510EAPI int ecore_x_randr_screen_refresh_rate_set(
2511 Ecore_X_Window root,
2512 Ecore_X_Screen_Size size,
2513 Ecore_X_Screen_Refresh_Rate rate);
1772 2514
1773/* XRender Support (horrendously incomplete) */ 2515/* XRender Support (horrendously incomplete) */
1774typedef Ecore_X_ID Ecore_X_Picture; 2516typedef Ecore_X_ID Ecore_X_Picture;
1775 2517
1776/* XFixes Extension Support */ 2518/* XFixes Extension Support */
1777typedef Ecore_X_ID Ecore_X_Region; 2519typedef Ecore_X_ID Ecore_X_Region;
1778 2520
1779typedef enum _Ecore_X_Region_Type { 2521typedef enum _Ecore_X_Region_Type {
1780 ECORE_X_REGION_BOUNDING, 2522 ECORE_X_REGION_BOUNDING,
1781 ECORE_X_REGION_CLIP 2523 ECORE_X_REGION_CLIP
1782} Ecore_X_Region_Type; 2524} Ecore_X_Region_Type;
1783 2525
1784EAPI Ecore_X_Region ecore_x_region_new(Ecore_X_Rectangle *rects, int num); 2526EAPI Ecore_X_Region ecore_x_region_new(Ecore_X_Rectangle *rects, int num);
1785EAPI Ecore_X_Region ecore_x_region_new_from_bitmap(Ecore_X_Pixmap bitmap); 2527EAPI Ecore_X_Region ecore_x_region_new_from_bitmap(Ecore_X_Pixmap bitmap);
1786EAPI Ecore_X_Region ecore_x_region_new_from_window(Ecore_X_Window win, Ecore_X_Region_Type type); 2528EAPI Ecore_X_Region ecore_x_region_new_from_window(Ecore_X_Window win,
1787EAPI Ecore_X_Region ecore_x_region_new_from_gc(Ecore_X_GC gc); 2529 Ecore_X_Region_Type type);
1788EAPI Ecore_X_Region ecore_x_region_new_from_picture(Ecore_X_Picture picture); 2530EAPI Ecore_X_Region ecore_x_region_new_from_gc(Ecore_X_GC gc);
1789EAPI void ecore_x_region_free(Ecore_X_Region region); 2531EAPI Ecore_X_Region ecore_x_region_new_from_picture(Ecore_X_Picture picture);
1790EAPI void ecore_x_region_set(Ecore_X_Region region, Ecore_X_Rectangle *rects, int num); 2532EAPI void ecore_x_region_free(Ecore_X_Region region);
1791EAPI void ecore_x_region_copy(Ecore_X_Region dest, Ecore_X_Region source); 2533EAPI void ecore_x_region_set(Ecore_X_Region region,
1792EAPI void ecore_x_region_combine(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2); 2534 Ecore_X_Rectangle *rects,
1793EAPI void ecore_x_region_intersect(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2); 2535 int num);
1794EAPI void ecore_x_region_subtract(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2); 2536EAPI void ecore_x_region_copy(Ecore_X_Region dest,
1795EAPI void ecore_x_region_invert(Ecore_X_Region dest, Ecore_X_Rectangle *bounds, Ecore_X_Region source); 2537 Ecore_X_Region source);
1796EAPI void ecore_x_region_translate(Ecore_X_Region region, int dx, int dy); 2538EAPI void ecore_x_region_combine(Ecore_X_Region dest,
1797EAPI void ecore_x_region_extents(Ecore_X_Region dest, Ecore_X_Region source); 2539 Ecore_X_Region source1,
1798EAPI void ecore_x_region_fetch_prefetch(Ecore_X_Region region); 2540 Ecore_X_Region source2);
1799EAPI void ecore_x_region_fetch_fetch(void); 2541EAPI void ecore_x_region_intersect(Ecore_X_Region dest,
1800EAPI Ecore_X_Rectangle *ecore_x_region_fetch(Ecore_X_Region region, int *num, Ecore_X_Rectangle *bounds); 2542 Ecore_X_Region source1,
1801EAPI void ecore_x_region_expand(Ecore_X_Region dest, Ecore_X_Region source, unsigned int left, unsigned int right, unsigned int top, unsigned int bottom); 2543 Ecore_X_Region source2);
1802EAPI void ecore_x_region_gc_clip_set(Ecore_X_Region region, Ecore_X_GC gc, int x_origin, int y_origin); 2544EAPI void ecore_x_region_subtract(Ecore_X_Region dest,
1803EAPI void ecore_x_region_window_shape_set(Ecore_X_Region region, Ecore_X_Window win, Ecore_X_Shape_Type type, int x_offset, int y_offset); 2545 Ecore_X_Region source1,
1804EAPI void ecore_x_region_picture_clip_set(Ecore_X_Region region, Ecore_X_Picture picture, int x_origin, int y_origin); 2546 Ecore_X_Region source2);
2547EAPI void ecore_x_region_invert(Ecore_X_Region dest,
2548 Ecore_X_Rectangle *bounds,
2549 Ecore_X_Region source);
2550EAPI void ecore_x_region_translate(Ecore_X_Region region,
2551 int dx,
2552 int dy);
2553EAPI void ecore_x_region_extents(Ecore_X_Region dest,
2554 Ecore_X_Region source);
2555EAPI void ecore_x_region_fetch_prefetch(Ecore_X_Region region);
2556EAPI void ecore_x_region_fetch_fetch(void);
2557EAPI Ecore_X_Rectangle *ecore_x_region_fetch(Ecore_X_Region region,
2558 int *num,
2559 Ecore_X_Rectangle *bounds);
2560EAPI void ecore_x_region_expand(Ecore_X_Region dest,
2561 Ecore_X_Region source,
2562 unsigned int left,
2563 unsigned int right,
2564 unsigned int top,
2565 unsigned int bottom);
2566EAPI void ecore_x_region_gc_clip_set(Ecore_X_Region region,
2567 Ecore_X_GC gc,
2568 int x_origin,
2569 int y_origin);
2570EAPI void ecore_x_region_window_shape_set(Ecore_X_Region region,
2571 Ecore_X_Window win,
2572 Ecore_X_Shape_Type type,
2573 int x_offset,
2574 int y_offset);
2575EAPI void ecore_x_region_picture_clip_set(Ecore_X_Region region,
2576 Ecore_X_Picture picture,
2577 int x_origin,
2578 int y_origin);
1805 2579
1806/* XComposite Extension Support */ 2580/* XComposite Extension Support */
1807EAPI int ecore_x_composite_query(void); 2581EAPI int ecore_x_composite_query(void);
1808EAPI void ecore_x_composite_redirect_window(Ecore_X_Window win, Ecore_X_Composite_Update_Type type); 2582EAPI void ecore_x_composite_redirect_window(
1809EAPI void ecore_x_composite_redirect_subwindows(Ecore_X_Window win, Ecore_X_Composite_Update_Type type); 2583 Ecore_X_Window win,
1810EAPI void ecore_x_composite_unredirect_window(Ecore_X_Window win, Ecore_X_Composite_Update_Type type); 2584 Ecore_X_Composite_Update_Type
1811EAPI void ecore_x_composite_unredirect_subwindows(Ecore_X_Window win, Ecore_X_Composite_Update_Type type); 2585 type);
1812EAPI Ecore_X_Pixmap ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win); 2586EAPI void ecore_x_composite_redirect_subwindows(
1813EAPI Ecore_X_Window ecore_x_composite_render_window_enable(Ecore_X_Window root); 2587 Ecore_X_Window win,
1814EAPI void ecore_x_composite_render_window_disable(Ecore_X_Window root); 2588 Ecore_X_Composite_Update_Type type);
1815 2589EAPI void ecore_x_composite_unredirect_window(
2590 Ecore_X_Window win,
2591 Ecore_X_Composite_Update_Type
2592 type);
2593EAPI void ecore_x_composite_unredirect_subwindows(
2594 Ecore_X_Window win,
2595 Ecore_X_Composite_Update_Type type);
2596EAPI Ecore_X_Pixmap ecore_x_composite_name_window_pixmap_get(
2597 Ecore_X_Window win);
2598EAPI Ecore_X_Window ecore_x_composite_render_window_enable(
2599 Ecore_X_Window root);
2600EAPI void ecore_x_composite_render_window_disable(
2601 Ecore_X_Window root);
2602
1816/* XDamage Extension Support */ 2603/* XDamage Extension Support */
1817typedef Ecore_X_ID Ecore_X_Damage; 2604typedef Ecore_X_ID Ecore_X_Damage;
1818 2605
1819typedef enum _Ecore_X_Damage_Report_Level { 2606typedef enum _Ecore_X_Damage_Report_Level {
1820 ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES, 2607 ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES,
1821 ECORE_X_DAMAGE_REPORT_DELTA_RECTANGLES, 2608 ECORE_X_DAMAGE_REPORT_DELTA_RECTANGLES,
1822 ECORE_X_DAMAGE_REPORT_BOUNDING_BOX, 2609 ECORE_X_DAMAGE_REPORT_BOUNDING_BOX,
1823 ECORE_X_DAMAGE_REPORT_NON_EMPTY 2610 ECORE_X_DAMAGE_REPORT_NON_EMPTY
1824} Ecore_X_Damage_Report_Level; 2611} Ecore_X_Damage_Report_Level;
1825 2612
1826struct _Ecore_X_Event_Damage { 2613struct _Ecore_X_Event_Damage
1827 Ecore_X_Damage_Report_Level level; 2614{
1828 Ecore_X_Drawable drawable; 2615 Ecore_X_Damage_Report_Level level;
1829 Ecore_X_Damage damage; 2616 Ecore_X_Drawable drawable;
1830 int more; 2617 Ecore_X_Damage damage;
1831 Ecore_X_Time time; 2618 int more;
1832 Ecore_X_Rectangle area; 2619 Ecore_X_Time time;
1833 Ecore_X_Rectangle geometry; 2620 Ecore_X_Rectangle area;
2621 Ecore_X_Rectangle geometry;
1834}; 2622};
1835 2623
1836typedef struct _Ecore_X_Event_Damage Ecore_X_Event_Damage; 2624typedef struct _Ecore_X_Event_Damage Ecore_X_Event_Damage;
1837 2625
1838EAPI int ecore_x_damage_query(void); 2626EAPI int ecore_x_damage_query(void);
1839EAPI Ecore_X_Damage ecore_x_damage_new(Ecore_X_Drawable d, Ecore_X_Damage_Report_Level level); 2627EAPI Ecore_X_Damage ecore_x_damage_new(Ecore_X_Drawable d,
1840EAPI void ecore_x_damage_free(Ecore_X_Damage damage); 2628 Ecore_X_Damage_Report_Level level);
1841EAPI void ecore_x_damage_subtract(Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts); 2629EAPI void ecore_x_damage_free(Ecore_X_Damage damage);
1842 2630EAPI void ecore_x_damage_subtract(Ecore_X_Damage damage,
1843EAPI int ecore_x_screen_is_composited(int screen); 2631 Ecore_X_Region repair,
1844EAPI void ecore_x_screen_is_composited_set(int screen, Ecore_X_Window win); 2632 Ecore_X_Region parts);
1845 2633
1846EAPI int ecore_x_dpms_query(void); 2634EAPI int ecore_x_screen_is_composited(int screen);
1847EAPI void ecore_x_dpms_capable_get_prefetch(void); 2635EAPI void ecore_x_screen_is_composited_set(int screen,
1848EAPI void ecore_x_dpms_capable_get_fetch(void); 2636 Ecore_X_Window win);
1849EAPI int ecore_x_dpms_capable_get(void); 2637
1850EAPI void ecore_x_dpms_enable_get_prefetch(void); 2638EAPI int ecore_x_dpms_query(void);
1851EAPI void ecore_x_dpms_enable_get_fetch(void); 2639EAPI void ecore_x_dpms_capable_get_prefetch(void);
1852EAPI int ecore_x_dpms_enabled_get(void); 2640EAPI void ecore_x_dpms_capable_get_fetch(void);
1853EAPI void ecore_x_dpms_enabled_set(int enabled); 2641EAPI int ecore_x_dpms_capable_get(void);
1854EAPI void ecore_x_dpms_timeouts_get_prefetch(void); 2642EAPI void ecore_x_dpms_enable_get_prefetch(void);
1855EAPI void ecore_x_dpms_timeouts_get_fetch(void); 2643EAPI void ecore_x_dpms_enable_get_fetch(void);
1856EAPI void ecore_x_dpms_timeouts_get(unsigned int *standby, unsigned int *suspend, unsigned int *off); 2644EAPI int ecore_x_dpms_enabled_get(void);
1857EAPI int ecore_x_dpms_timeouts_set(unsigned int standby, unsigned int suspend, unsigned int off); 2645EAPI void ecore_x_dpms_enabled_set(int enabled);
1858EAPI unsigned int ecore_x_dpms_timeout_standby_get(void); 2646EAPI void ecore_x_dpms_timeouts_get_prefetch(void);
1859EAPI unsigned int ecore_x_dpms_timeout_suspend_get(void); 2647EAPI void ecore_x_dpms_timeouts_get_fetch(void);
1860EAPI unsigned int ecore_x_dpms_timeout_off_get(void); 2648EAPI void ecore_x_dpms_timeouts_get(unsigned int *standby,
1861EAPI void ecore_x_dpms_timeout_standby_set(unsigned int new_timeout); 2649 unsigned int *suspend,
1862EAPI void ecore_x_dpms_timeout_suspend_set(unsigned int new_timeout); 2650 unsigned int *off);
1863EAPI void ecore_x_dpms_timeout_off_set(unsigned int new_timeout); 2651EAPI int ecore_x_dpms_timeouts_set(unsigned int standby,
1864 2652 unsigned int suspend,
1865EAPI int ecore_x_test_fake_key_down(const char *key); 2653 unsigned int off);
1866EAPI int ecore_x_test_fake_key_up(const char *key); 2654EAPI unsigned int ecore_x_dpms_timeout_standby_get(void);
1867EAPI int ecore_x_test_fake_key_press(const char *key); 2655EAPI unsigned int ecore_x_dpms_timeout_suspend_get(void);
1868EAPI const char *ecore_x_keysym_string_get(int keysym); 2656EAPI unsigned int ecore_x_dpms_timeout_off_get(void);
2657EAPI void ecore_x_dpms_timeout_standby_set(unsigned int new_timeout);
2658EAPI void ecore_x_dpms_timeout_suspend_set(unsigned int new_timeout);
2659EAPI void ecore_x_dpms_timeout_off_set(unsigned int new_timeout);
2660
2661EAPI int ecore_x_test_fake_key_down(const char *key);
2662EAPI int ecore_x_test_fake_key_up(const char *key);
2663EAPI int ecore_x_test_fake_key_press(const char *key);
2664EAPI const char * ecore_x_keysym_string_get(int keysym);
1869 2665
1870typedef struct _Ecore_X_Image Ecore_X_Image; 2666typedef struct _Ecore_X_Image Ecore_X_Image;
1871 2667
1872EAPI Ecore_X_Image *ecore_x_image_new(int w, int h, Ecore_X_Visual vis, int depth); 2668EAPI Ecore_X_Image *ecore_x_image_new(int w,
1873EAPI void ecore_x_image_free(Ecore_X_Image *im); 2669 int h,
1874EAPI Eina_Bool ecore_x_image_get(Ecore_X_Image *im, Ecore_X_Drawable draw, int x, int y, int sx, int sy, int w, int h); 2670 Ecore_X_Visual vis,
1875EAPI void ecore_x_image_put(Ecore_X_Image *im, Ecore_X_Drawable draw, int x, int y, int sx, int sy, int w, int h); 2671 int depth);
1876EAPI void *ecore_x_image_data_get(Ecore_X_Image *im, int *bpl, int *rows, int *bpp); 2672EAPI void ecore_x_image_free(Ecore_X_Image *im);
2673EAPI Eina_Bool ecore_x_image_get(Ecore_X_Image *im,
2674 Ecore_X_Drawable draw,
2675 int x,
2676 int y,
2677 int sx,
2678 int sy,
2679 int w,
2680 int h);
2681EAPI void ecore_x_image_put(Ecore_X_Image *im,
2682 Ecore_X_Drawable draw,
2683 int x,
2684 int y,
2685 int sx,
2686 int sy,
2687 int w,
2688 int h);
2689EAPI void * ecore_x_image_data_get(Ecore_X_Image *im,
2690 int *bpl,
2691 int *rows,
2692 int *bpp);
2693
2694EAPI Eina_Bool ecore_x_input_multi_select(Ecore_X_Window win);
1877 2695
1878EAPI Eina_Bool ecore_x_input_multi_select(Ecore_X_Window win);
1879
1880#ifdef __cplusplus 2696#ifdef __cplusplus
1881} 2697}
1882#endif 2698#endif
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
index 8508a68..b86c6da 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X_Atoms.h
@@ -46,7 +46,7 @@ EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_MOVE;
46EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_LINK; 46EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_LINK;
47EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_ASK; 47EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_ASK;
48EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE; 48EAPI extern Ecore_X_Atom ECORE_X_DND_ACTION_PRIVATE;
49 49
50/* old E atom */ 50/* old E atom */
51EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_FRAME_SIZE; 51EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_FRAME_SIZE;
52 52
@@ -192,23 +192,23 @@ EAPI extern Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD;
192/* currenly E specific virtual keyboard extension, aim to submit to netwm spec 192/* currenly E specific virtual keyboard extension, aim to submit to netwm spec
193 * later */ 193 * later */
194 194
195EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD; 195EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD;
196EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE; 196EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE;
197EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON; 197EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ON;
198EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF; 198EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_OFF;
199EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA; 199EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_ALPHA;
200EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC; 200EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_NUMERIC;
201EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN; 201EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PIN;
202EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER; 202EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PHONE_NUMBER;
203EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX; 203EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HEX;
204EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL; 204EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_TERMINAL;
205EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD; 205EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_PASSWORD;
206EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_IP; 206EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_IP;
207EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HOST; 207EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_HOST;
208EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_FILE; 208EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_FILE;
209EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_URL; 209EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_URL;
210EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_KEYPAD; 210EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_KEYPAD;
211EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_J2ME; 211EAPI extern Ecore_X_Atom ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_J2ME;
212 212
213 213
214/* Illume specific atoms */ 214/* Illume specific atoms */
diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h b/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
index 1933ecc..6d4bb27 100644
--- a/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
+++ b/legacy/ecore/src/lib/ecore_x/ecore_x_atoms_decl.h
@@ -1,84 +1,84 @@
1/* generic atoms */ 1/* generic atoms */
2EAPI Ecore_X_Atom ECORE_X_ATOM_ATOM = 0; 2EAPI Ecore_X_Atom ECORE_X_ATOM_ATOM = 0;
3EAPI Ecore_X_Atom ECORE_X_ATOM_CARDINAL = 0; 3EAPI Ecore_X_Atom ECORE_X_ATOM_CARDINAL = 0;
4EAPI Ecore_X_Atom ECORE_X_ATOM_COMPOUND_TEXT = 0; 4EAPI Ecore_X_Atom ECORE_X_ATOM_COMPOUND_TEXT = 0;
5EAPI Ecore_X_Atom ECORE_X_ATOM_FILE_NAME = 0; 5EAPI Ecore_X_Atom ECORE_X_ATOM_FILE_NAME = 0;
6EAPI Ecore_X_Atom ECORE_X_ATOM_STRING = 0; 6EAPI Ecore_X_Atom ECORE_X_ATOM_STRING = 0;
7EAPI Ecore_X_Atom ECORE_X_ATOM_TEXT = 0; 7EAPI Ecore_X_Atom ECORE_X_ATOM_TEXT = 0;
8EAPI Ecore_X_Atom ECORE_X_ATOM_UTF8_STRING = 0; 8EAPI Ecore_X_Atom ECORE_X_ATOM_UTF8_STRING = 0;
9EAPI Ecore_X_Atom ECORE_X_ATOM_WINDOW = 0; 9EAPI Ecore_X_Atom ECORE_X_ATOM_WINDOW = 0;
10EAPI Ecore_X_Atom ECORE_X_ATOM_PIXMAP = 0; 10EAPI Ecore_X_Atom