summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-06-08 12:33:53 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-06-08 12:33:53 +0000
commit8ace34c81a7a5ca218ebe5a8cc09d0a470a54720 (patch)
treee59944d407b76be92e73885257f3c974a1d86ca8 /legacy
parent31ef42826c44f859d6738fa0a4f91f9239a867f2 (diff)
by the magic of ecrustify and a lot of manual labor, this file's formatting has been unfucked
SVN revision: 71847
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_x/Ecore_X.h3053
1 files changed, 772 insertions, 2281 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/Ecore_X.h b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
index 581b32e09e..04f8f12887 100644
--- a/legacy/ecore/src/lib/ecore_x/Ecore_X.h
+++ b/legacy/ecore/src/lib/ecore_x/Ecore_X.h
@@ -126,35 +126,22 @@ typedef enum _Ecore_X_Composite_Update_Type
126typedef enum _Ecore_X_Window_State 126typedef enum _Ecore_X_Window_State
127{ 127{
128 /* Unknown state */ 128 /* Unknown state */
129 ECORE_X_WINDOW_STATE_UNKNOWN = 0, 129 ECORE_X_WINDOW_STATE_UNKNOWN = 0, /** The window is iconified. */
130 /** The window is iconified. */ 130 ECORE_X_WINDOW_STATE_ICONIFIED, /** The window is a modal dialog box. */
131 ECORE_X_WINDOW_STATE_ICONIFIED, 131 ECORE_X_WINDOW_STATE_MODAL, /** The window manager should keep the window's position fixed
132 /** The window is a modal dialog box. */ 132 * even if the virtual desktop scrolls. */
133 ECORE_X_WINDOW_STATE_MODAL, 133 ECORE_X_WINDOW_STATE_STICKY, /** The window has the maximum vertical size. */
134 /** The window manager should keep the window's position fixed 134 ECORE_X_WINDOW_STATE_MAXIMIZED_VERT, /** The window has the maximum horizontal size. */
135 * even if the virtual desktop scrolls. */ 135 ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ, /** The window is shaded. */
136 ECORE_X_WINDOW_STATE_STICKY, 136 ECORE_X_WINDOW_STATE_SHADED, /** The window should not be included in the taskbar. */
137 /** The window has the maximum vertical size. */ 137 ECORE_X_WINDOW_STATE_SKIP_TASKBAR, /** The window should not be included in the pager. */
138 ECORE_X_WINDOW_STATE_MAXIMIZED_VERT, 138 ECORE_X_WINDOW_STATE_SKIP_PAGER, /** The window is invisible (i.e. minimized/iconified) */
139 /** The window has the maximum horizontal size. */ 139 ECORE_X_WINDOW_STATE_HIDDEN, /** The window should fill the entire screen and have no
140 ECORE_X_WINDOW_STATE_MAXIMIZED_HORZ, 140 * window border/decorations */
141 /** The window is shaded. */ 141 ECORE_X_WINDOW_STATE_FULLSCREEN, /* The following are not documented because they are not
142 ECORE_X_WINDOW_STATE_SHADED, 142 * intended for use in applications. */
143 /** The window should not be included in the taskbar. */ 143 ECORE_X_WINDOW_STATE_ABOVE, ECORE_X_WINDOW_STATE_BELOW, /* FIXME: Documentation */
144 ECORE_X_WINDOW_STATE_SKIP_TASKBAR, 144 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION
145 /** The window should not be included in the pager. */
146 ECORE_X_WINDOW_STATE_SKIP_PAGER,
147 /** The window is invisible (i.e. minimized/iconified) */
148 ECORE_X_WINDOW_STATE_HIDDEN,
149 /** The window should fill the entire screen and have no
150 * window border/decorations */
151 ECORE_X_WINDOW_STATE_FULLSCREEN,
152 /* The following are not documented because they are not
153 * intended for use in applications. */
154 ECORE_X_WINDOW_STATE_ABOVE,
155 ECORE_X_WINDOW_STATE_BELOW,
156 /* FIXME: Documentation */
157 ECORE_X_WINDOW_STATE_DEMANDS_ATTENTION
158} Ecore_X_Window_State; 145} Ecore_X_Window_State;
159 146
160typedef enum _Ecore_X_Window_State_Action 147typedef enum _Ecore_X_Window_State_Action
@@ -352,7 +339,7 @@ typedef enum _Ecore_X_Randr_Property_Change
352 339
353/** 340/**
354 * @typedef _Ecore_X_Error_Code 341 * @typedef _Ecore_X_Error_Code
355 * Defines the error codes of Ecore_X which wraps the X Window Systems 342 * Defines the error codes of Ecore_X which wraps the X Window Systems
356 * protocol's errors. 343 * protocol's errors.
357 * 344 *
358 * @since 1.3.0 345 * @since 1.3.0
@@ -360,40 +347,23 @@ typedef enum _Ecore_X_Randr_Property_Change
360typedef enum _Ecore_X_Error_Code 347typedef enum _Ecore_X_Error_Code
361{ 348{
362 /** Everything is okay. */ 349 /** Everything is okay. */
363 ECORE_X_ERROR_CODE_SUCCESS = 0, 350 ECORE_X_ERROR_CODE_SUCCESS = 0, /** Bad request code */
364 /** Bad request code */ 351 ECORE_X_ERROR_CODE_BAD_REQUEST = 1, /** Int parameter out of range */
365 ECORE_X_ERROR_CODE_BAD_REQUEST = 1, 352 ECORE_X_ERROR_CODE_BAD_VALUE = 2, /** Parameter not a Window */
366 /** Int parameter out of range */ 353 ECORE_X_ERROR_CODE_BAD_WINDOW = 3, /** Parameter not a Pixmap */
367 ECORE_X_ERROR_CODE_BAD_VALUE = 2, 354 ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, /** Parameter not an Atom */
368 /** Parameter not a Window */ 355 ECORE_X_ERROR_CODE_BAD_ATOM = 5, /** Parameter not a Cursor */
369 ECORE_X_ERROR_CODE_BAD_WINDOW = 3, 356 ECORE_X_ERROR_CODE_BAD_CURSOR = 6, /** Parameter not a Font */
370 /** Parameter not a Pixmap */ 357 ECORE_X_ERROR_CODE_BAD_FONT = 7, /** Parameter mismatch */
371 ECORE_X_ERROR_CODE_BAD_PIXMAP = 4, 358 ECORE_X_ERROR_CODE_BAD_MATCH = 8, /** Parameter not a Pixmap or Window */
372 /** Parameter not an Atom */ 359 ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9, /** Bad access */
373 ECORE_X_ERROR_CODE_BAD_ATOM = 5, 360 ECORE_X_ERROR_CODE_BAD_ACCESS = 10, /** Insufficient resources */
374 /** Parameter not a Cursor */ 361 ECORE_X_ERROR_CODE_BAD_ALLOC = 11, /** No such colormap */
375 ECORE_X_ERROR_CODE_BAD_CURSOR = 6, 362 ECORE_X_ERROR_CODE_BAD_COLOR = 12, /** Parameter not a GC */
376 /** Parameter not a Font */ 363 ECORE_X_ERROR_CODE_BAD_GC = 13, /** Choice not in range or already used */
377 ECORE_X_ERROR_CODE_BAD_FONT = 7, 364 ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14, /** Font or color name doesn't exist */
378 /** Parameter mismatch */ 365 ECORE_X_ERROR_CODE_BAD_NAME = 15, /** Request length incorrect */
379 ECORE_X_ERROR_CODE_BAD_MATCH = 8, 366 ECORE_X_ERROR_CODE_BAD_LENGTH = 16, /** Server is defective */
380 /** Parameter not a Pixmap or Window */
381 ECORE_X_ERROR_CODE_BAD_DRAWABLE = 9,
382 /** Bad access */
383 ECORE_X_ERROR_CODE_BAD_ACCESS = 10,
384 /** Insufficient resources */
385 ECORE_X_ERROR_CODE_BAD_ALLOC = 11,
386 /** No such colormap */
387 ECORE_X_ERROR_CODE_BAD_COLOR = 12,
388 /** Parameter not a GC */
389 ECORE_X_ERROR_CODE_BAD_GC = 13,
390 /** Choice not in range or already used */
391 ECORE_X_ERROR_CODE_BAD_ID_CHOICE = 14,
392 /** Font or color name doesn't exist */
393 ECORE_X_ERROR_CODE_BAD_NAME = 15,
394 /** Request length incorrect */
395 ECORE_X_ERROR_CODE_BAD_LENGTH = 16,
396 /** Server is defective */
397 ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17, 367 ECORE_X_ERROR_CODE_BAD_IMPLEMENTATION = 17,
398} Ecore_X_Error_Code; 368} Ecore_X_Error_Code;
399 369
@@ -946,8 +916,7 @@ struct _Ecore_X_Event_Generic
946}; 916};
947 917
948EAPI extern int ECORE_X_EVENT_ANY; /**< low level event dependent on 918EAPI extern int ECORE_X_EVENT_ANY; /**< low level event dependent on
949 backend in use, if Xlib will be XEvent, 919 backend in use, if Xlib will be XEvent, if XCB will be xcb_generic_event_t.
950 if XCB will be xcb_generic_event_t.
951 @warning avoid using it. 920 @warning avoid using it.
952 */ 921 */
953EAPI extern int ECORE_X_EVENT_MOUSE_IN; 922EAPI extern int ECORE_X_EVENT_MOUSE_IN;
@@ -1023,41 +992,41 @@ EAPI extern int ECORE_X_LOCK_SHIFT;
1023 992
1024typedef enum _Ecore_X_WM_Protocol 993typedef enum _Ecore_X_WM_Protocol
1025{ 994{
1026 /* If enabled the window manager will be asked to send a 995 /** If enabled the window manager will be asked to send a
1027 * delete message instead of just closing (destroying) the window. */ 996 * delete message instead of just closing (destroying) the window. */
1028 ECORE_X_WM_PROTOCOL_DELETE_REQUEST, 997 ECORE_X_WM_PROTOCOL_DELETE_REQUEST,
1029 998
1030 /* If enabled the window manager will be told that the window 999 /** If enabled the window manager will be told that the window
1031 * explicitly sets input focus. */ 1000 * explicitly sets input focus. */
1032 ECORE_X_WM_PROTOCOL_TAKE_FOCUS, 1001 ECORE_X_WM_PROTOCOL_TAKE_FOCUS,
1033 1002
1034 /* If enabled the window manager can ping the window to check 1003 /** If enabled the window manager can ping the window to check
1035 * if it is alive. */ 1004 * if it is alive. */
1036 ECORE_X_NET_WM_PROTOCOL_PING, 1005 ECORE_X_NET_WM_PROTOCOL_PING,
1037 1006
1038 /* If enabled the window manager can sync updating with the 1007 /** If enabled the window manager can sync updating with the
1039 * window (?) */ 1008 * window (?) */
1040 ECORE_X_NET_WM_PROTOCOL_SYNC_REQUEST, 1009 ECORE_X_NET_WM_PROTOCOL_SYNC_REQUEST,
1041 1010
1042 /* Number of defined items */ 1011 /** Number of defined items */
1043 ECORE_X_WM_PROTOCOL_NUM 1012 ECORE_X_WM_PROTOCOL_NUM
1044} Ecore_X_WM_Protocol; 1013} Ecore_X_WM_Protocol;
1045 1014
1046typedef enum _Ecore_X_Window_Input_Mode 1015typedef enum _Ecore_X_Window_Input_Mode
1047{ 1016{
1048 /* The window can never be focused */ 1017 /** The window can never be focused */
1049 ECORE_X_WINDOW_INPUT_MODE_NONE, 1018 ECORE_X_WINDOW_INPUT_MODE_NONE,
1050 1019
1051 /* The window can be focused by the WM but doesn't focus itself */ 1020 /** The window can be focused by the WM but doesn't focus itself */
1052 ECORE_X_WINDOW_INPUT_MODE_PASSIVE, 1021 ECORE_X_WINDOW_INPUT_MODE_PASSIVE,
1053 1022
1054 /* The window sets the focus itself if one of its sub-windows 1023 /** The window sets the focus itself if one of its sub-windows
1055 * already is focused */ 1024 * already is focused */
1056 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_LOCAL, 1025 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_LOCAL,
1057 1026
1058 /* The window sets the focus itself even if another window 1027 /** The window sets the focus itself even if another window
1059 * is currently focused */ 1028 * is currently focused */
1060 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_GLOBAL 1029 ECORE_X_WINDOW_INPUT_MODE_ACTIVE_GLOBAL
1061} Ecore_X_Window_Input_Mode; 1030} Ecore_X_Window_Input_Mode;
1062 1031
1063/** 1032/**
@@ -1067,16 +1036,16 @@ typedef enum _Ecore_X_Window_Input_Mode
1067typedef enum _Ecore_X_Window_State_Hint 1036typedef enum _Ecore_X_Window_State_Hint
1068{ 1037{
1069 /** Do not provide any state hint to the window manager */ 1038 /** Do not provide any state hint to the window manager */
1070 ECORE_X_WINDOW_STATE_HINT_NONE = -1, 1039 ECORE_X_WINDOW_STATE_HINT_NONE = -1,
1071 1040
1072 /** The window wants to remain hidden and NOT iconified */ 1041 /** The window wants to remain hidden and NOT iconified */
1073 ECORE_X_WINDOW_STATE_HINT_WITHDRAWN, 1042 ECORE_X_WINDOW_STATE_HINT_WITHDRAWN,
1074 1043
1075 /** The window wants to be mapped normally */ 1044 /** The window wants to be mapped normally */
1076 ECORE_X_WINDOW_STATE_HINT_NORMAL, 1045 ECORE_X_WINDOW_STATE_HINT_NORMAL,
1077 1046
1078 /** The window wants to start in an iconified state */ 1047 /** The window wants to start in an iconified state */
1079 ECORE_X_WINDOW_STATE_HINT_ICONIC 1048 ECORE_X_WINDOW_STATE_HINT_ICONIC
1080} Ecore_X_Window_State_Hint; 1049} Ecore_X_Window_State_Hint;
1081 1050
1082typedef enum _Ecore_X_Window_Type 1051typedef enum _Ecore_X_Window_Type
@@ -1192,868 +1161,258 @@ typedef enum _Ecore_X_Illume_Indicator_Opacity_Mode
1192#define ECORE_X_PROP_LIST_ADD 1 1161#define ECORE_X_PROP_LIST_ADD 1
1193#define ECORE_X_PROP_LIST_TOGGLE 2 1162#define ECORE_X_PROP_LIST_TOGGLE 2
1194 1163
1195EAPI int 1164EAPI int ecore_x_init(const char *name);
1196 ecore_x_init(const char *name); 1165EAPI int ecore_x_shutdown(void);
1197EAPI int 1166EAPI int ecore_x_disconnect(void);
1198 ecore_x_shutdown(void); 1167EAPI Ecore_X_Display *ecore_x_display_get(void);
1199EAPI int 1168EAPI Ecore_X_Connection *ecore_x_connection_get(void);
1200 ecore_x_disconnect(void); 1169EAPI int ecore_x_fd_get(void);
1201EAPI Ecore_X_Display * 1170EAPI Ecore_X_Screen *ecore_x_default_screen_get(void);
1202 ecore_x_display_get(void); 1171EAPI void ecore_x_screen_size_get(const Ecore_X_Screen *screen, int *w, int *h);
1203EAPI Ecore_X_Connection * 1172EAPI int ecore_x_screen_count_get(void);
1204 ecore_x_connection_get(void); 1173EAPI int ecore_x_screen_index_get(const Ecore_X_Screen *screen);
1205EAPI int 1174EAPI Ecore_X_Screen *ecore_x_screen_get(int index);
1206 ecore_x_fd_get(void); 1175
1207EAPI Ecore_X_Screen * 1176EAPI void ecore_x_double_click_time_set(double t);
1208 ecore_x_default_screen_get(void); 1177EAPI double ecore_x_double_click_time_get(void);
1209EAPI void 1178EAPI void ecore_x_flush(void);
1210 ecore_x_screen_size_get(const Ecore_X_Screen *screen, 1179EAPI void ecore_x_sync(void);
1211 int *w, 1180EAPI void ecore_x_killall(Ecore_X_Window root);
1212 int *h); 1181EAPI void ecore_x_kill(Ecore_X_Window win);
1213EAPI int 1182EAPI int ecore_x_dpi_get(void);
1214 ecore_x_screen_count_get(void); 1183EAPI Eina_Bool ecore_x_bell(int percent);
1215EAPI int 1184EAPI unsigned int ecore_x_visual_id_get(Ecore_X_Visual visual);
1216 ecore_x_screen_index_get(const Ecore_X_Screen *screen); 1185
1217EAPI Ecore_X_Screen * 1186EAPI Ecore_X_Visual ecore_x_default_visual_get(Ecore_X_Display *disp, Ecore_X_Screen *screen);
1218 ecore_x_screen_get(int index); 1187EAPI Ecore_X_Colormap ecore_x_default_colormap_get(Ecore_X_Display *disp, Ecore_X_Screen *screen);
1219 1188EAPI int ecore_x_default_depth_get(Ecore_X_Display *disp, Ecore_X_Screen *screen);
1220EAPI void 1189
1221 ecore_x_double_click_time_set(double t); 1190EAPI Ecore_X_Time ecore_x_current_time_get(void);
1222EAPI double 1191
1223 ecore_x_double_click_time_get(void); 1192EAPI void ecore_x_error_handler_set(void (*func)(void *data), const void *data);
1224EAPI void 1193EAPI void ecore_x_io_error_handler_set(void (*func)(void *data), const void *data);
1225 ecore_x_flush(void); 1194EAPI int ecore_x_error_request_get(void);
1226EAPI void 1195EAPI int ecore_x_error_code_get(void);
1227 ecore_x_sync(void); 1196EAPI Ecore_X_ID ecore_x_error_resource_id_get(void);
1228EAPI void 1197
1229 ecore_x_killall(Ecore_X_Window root); 1198EAPI void ecore_x_event_mask_set(Ecore_X_Window w, Ecore_X_Event_Mask mask);
1230EAPI void 1199EAPI void ecore_x_event_mask_unset(Ecore_X_Window w, Ecore_X_Event_Mask mask);
1231 ecore_x_kill(Ecore_X_Window win); 1200
1232EAPI int 1201EAPI Eina_Bool 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);
1233 ecore_x_dpi_get(void); 1202EAPI Eina_Bool ecore_x_selection_primary_set(Ecore_X_Window w, const void *data, int size);
1234EAPI Eina_Bool 1203EAPI Eina_Bool ecore_x_selection_primary_clear(void);
1235 ecore_x_bell(int percent); 1204EAPI Eina_Bool ecore_x_selection_secondary_set(Ecore_X_Window w, const void *data, int size);
1236EAPI unsigned int 1205EAPI Eina_Bool ecore_x_selection_secondary_clear(void);
1237 ecore_x_visual_id_get(Ecore_X_Visual visual); 1206EAPI Eina_Bool ecore_x_selection_xdnd_set(Ecore_X_Window w, const void *data, int size);
1238 1207EAPI Eina_Bool ecore_x_selection_xdnd_clear(void);
1239EAPI Ecore_X_Visual 1208EAPI Eina_Bool ecore_x_selection_clipboard_set(Ecore_X_Window w, const void *data, int size);
1240ecore_x_default_visual_get(Ecore_X_Display *disp, 1209EAPI Eina_Bool ecore_x_selection_clipboard_clear(void);
1241 Ecore_X_Screen *screen); 1210EAPI void ecore_x_selection_primary_request(Ecore_X_Window w, const char *target);
1242EAPI Ecore_X_Colormap 1211EAPI void ecore_x_selection_secondary_request(Ecore_X_Window w, const char *target);
1243ecore_x_default_colormap_get(Ecore_X_Display *disp, 1212EAPI void ecore_x_selection_xdnd_request(Ecore_X_Window w, const char *target);
1244 Ecore_X_Screen *screen); 1213EAPI void ecore_x_selection_clipboard_request(Ecore_X_Window w, const char *target);
1245EAPI int 1214EAPI Eina_Bool ecore_x_selection_convert(Ecore_X_Atom selection, Ecore_X_Atom target, void **data_ret, int *len, Ecore_X_Atom *targprop, int *targsize);
1246ecore_x_default_depth_get(Ecore_X_Display *disp, 1215EAPI void ecore_x_selection_converter_add(char *target, Eina_Bool (*func)(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *, int *));
1247 Ecore_X_Screen *screen); 1216EAPI void ecore_x_selection_converter_atom_add(Ecore_X_Atom target, Eina_Bool (*func)(char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *tprop, int *tsize));
1248 1217EAPI void ecore_x_selection_converter_del(char *target);
1249EAPI Ecore_X_Time 1218EAPI void ecore_x_selection_converter_atom_del(Ecore_X_Atom target);
1250ecore_x_current_time_get(void); 1219EAPI void ecore_x_selection_parser_add(const char *target, void *(*func)(const char *target, void *data, int size, int format));
1251 1220EAPI void ecore_x_selection_parser_del(const char *target);
1252EAPI void 1221EAPI void ecore_x_selection_owner_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Time tm);
1253ecore_x_error_handler_set(void (*func)(void *data), 1222EAPI Ecore_X_Window ecore_x_selection_owner_get(Ecore_X_Atom atom);
1254 const void *data); 1223
1255EAPI void 1224EAPI void ecore_x_dnd_aware_set(Ecore_X_Window win, Eina_Bool on);
1256ecore_x_io_error_handler_set(void (*func)(void *data), 1225EAPI int ecore_x_dnd_version_get(Ecore_X_Window win);
1257 const void *data); 1226EAPI Eina_Bool ecore_x_dnd_type_isset(Ecore_X_Window win, const char *type);
1258EAPI int 1227EAPI void ecore_x_dnd_type_set(Ecore_X_Window win, const char *type, Eina_Bool on);
1259 ecore_x_error_request_get(void); 1228EAPI void ecore_x_dnd_types_set(Ecore_X_Window win, const char **types, unsigned int num_types);
1260EAPI int 1229EAPI void ecore_x_dnd_actions_set(Ecore_X_Window win, Ecore_X_Atom *actions, unsigned int num_actions);
1261 ecore_x_error_code_get(void); 1230EAPI Eina_Bool ecore_x_dnd_begin(Ecore_X_Window source, unsigned char *data, int size);
1262EAPI Ecore_X_ID 1231EAPI Eina_Bool ecore_x_dnd_drop(void);
1263ecore_x_error_resource_id_get(void); 1232EAPI void ecore_x_dnd_send_status(Eina_Bool will_accept, Eina_Bool suppress, Ecore_X_Rectangle rectangle, Ecore_X_Atom action);
1264 1233EAPI void ecore_x_dnd_send_finished(void);
1265EAPI void 1234EAPI void ecore_x_dnd_source_action_set(Ecore_X_Atom action);
1266ecore_x_event_mask_set(Ecore_X_Window w, 1235EAPI Ecore_X_Atom ecore_x_dnd_source_action_get(void);
1267 Ecore_X_Event_Mask mask); 1236EAPI void ecore_x_dnd_callback_pos_update_set(void (*cb)(void *, Ecore_X_Xdnd_Position *data), const void *data);
1268EAPI void 1237
1269ecore_x_event_mask_unset(Ecore_X_Window w, 1238EAPI Ecore_X_Window ecore_x_window_new(Ecore_X_Window parent, int x, int y, int w, int h);
1270 Ecore_X_Event_Mask mask); 1239EAPI Ecore_X_Window ecore_x_window_override_new(Ecore_X_Window parent, int x, int y, int w, int h);
1271 1240EAPI int ecore_x_window_argb_get(Ecore_X_Window win);
1272EAPI Eina_Bool 1241EAPI Ecore_X_Window ecore_x_window_manager_argb_new(Ecore_X_Window parent, int x, int y, int w, int h);
1273ecore_x_selection_notify_send(Ecore_X_Window requestor, 1242EAPI Ecore_X_Window ecore_x_window_argb_new(Ecore_X_Window parent, int x, int y, int w, int h);
1274 Ecore_X_Atom selection, 1243EAPI Ecore_X_Window ecore_x_window_override_argb_new(Ecore_X_Window parent, int x, int y, int w, int h);
1275 Ecore_X_Atom target, 1244EAPI Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h);
1276 Ecore_X_Atom property, 1245EAPI void ecore_x_window_configure(Ecore_X_Window win, Ecore_X_Window_Configure_Mask mask, int x, int y, int w, int h, int border_width, Ecore_X_Window sibling, int stack_mode);
1277 Ecore_X_Time time); 1246EAPI void ecore_x_window_cursor_set(Ecore_X_Window win, Ecore_X_Cursor c);
1278EAPI Eina_Bool 1247EAPI void ecore_x_window_free(Ecore_X_Window win);
1279ecore_x_selection_primary_set(Ecore_X_Window w, 1248EAPI void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore);
1280 const void *data, 1249EAPI Ecore_X_Window *ecore_x_window_ignore_list(int *num);
1281 int size); 1250
1282EAPI Eina_Bool 1251EAPI void ecore_x_window_delete_request_send(Ecore_X_Window win);
1283 ecore_x_selection_primary_clear(void); 1252EAPI void ecore_x_window_show(Ecore_X_Window win);
1284EAPI Eina_Bool 1253EAPI void ecore_x_window_hide(Ecore_X_Window win);
1285 ecore_x_selection_secondary_set(Ecore_X_Window w, 1254EAPI void ecore_x_window_move(Ecore_X_Window win, int x, int y);
1286 const void *data, 1255EAPI void ecore_x_window_resize(Ecore_X_Window win, int w, int h);
1287 int size); 1256EAPI void ecore_x_window_move_resize(Ecore_X_Window win, int x, int y, int w, int h);
1288EAPI Eina_Bool 1257EAPI void ecore_x_window_focus(Ecore_X_Window win);
1289 ecore_x_selection_secondary_clear(void); 1258EAPI void ecore_x_window_focus_at_time(Ecore_X_Window win, Ecore_X_Time t);
1290EAPI Eina_Bool 1259EAPI Ecore_X_Window ecore_x_window_focus_get(void);
1291 ecore_x_selection_xdnd_set(Ecore_X_Window w, 1260EAPI void ecore_x_window_raise(Ecore_X_Window win);
1292 const void *data, 1261EAPI void ecore_x_window_lower(Ecore_X_Window win);
1293 int size); 1262EAPI void ecore_x_window_reparent(Ecore_X_Window win, Ecore_X_Window new_parent, int x, int y);
1294EAPI Eina_Bool 1263EAPI void ecore_x_window_size_get(Ecore_X_Window win, int *w, int *h);
1295 ecore_x_selection_xdnd_clear(void); 1264EAPI void ecore_x_window_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
1296EAPI Eina_Bool 1265EAPI int ecore_x_window_border_width_get(Ecore_X_Window win);
1297 ecore_x_selection_clipboard_set(Ecore_X_Window w, 1266EAPI void ecore_x_window_border_width_set(Ecore_X_Window win, int width);
1298 const void *data, 1267EAPI int ecore_x_window_depth_get(Ecore_X_Window win);
1299 int size); 1268EAPI void ecore_x_window_cursor_show(Ecore_X_Window win, Eina_Bool show);
1300EAPI Eina_Bool 1269EAPI void ecore_x_window_defaults_set(Ecore_X_Window win);
1301 ecore_x_selection_clipboard_clear(void); 1270EAPI int ecore_x_window_visible_get(Ecore_X_Window win);
1302EAPI void 1271EAPI 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);
1303 ecore_x_selection_primary_request(Ecore_X_Window w, 1272EAPI Ecore_X_Window ecore_x_window_shadow_parent_get(Ecore_X_Window root, Ecore_X_Window win);
1304 const char *target); 1273EAPI void ecore_x_window_shadow_tree_flush(void);
1305EAPI void 1274EAPI Ecore_X_Window ecore_x_window_root_get(Ecore_X_Window win);
1306ecore_x_selection_secondary_request(Ecore_X_Window w, 1275EAPI Ecore_X_Window ecore_x_window_at_xy_get(int x, int y);
1307 const char *target); 1276EAPI Ecore_X_Window ecore_x_window_at_xy_with_skip_get(int x, int y, Ecore_X_Window *skip, int skip_num);
1308EAPI void 1277EAPI Ecore_X_Window ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, int x, int y);
1309ecore_x_selection_xdnd_request(Ecore_X_Window w, 1278EAPI Ecore_X_Window ecore_x_window_parent_get(Ecore_X_Window win);
1310 const char *target); 1279
1311EAPI void 1280EAPI void ecore_x_window_background_color_set(Ecore_X_Window win, unsigned short r, unsigned short g, unsigned short b);
1312ecore_x_selection_clipboard_request(Ecore_X_Window w, 1281EAPI void ecore_x_window_gravity_set(Ecore_X_Window win, Ecore_X_Gravity grav);
1313 const char *target); 1282EAPI void ecore_x_window_pixel_gravity_set(Ecore_X_Window win, Ecore_X_Gravity grav);
1314EAPI Eina_Bool 1283EAPI void ecore_x_window_pixmap_set(Ecore_X_Window win, Ecore_X_Pixmap pmap);
1315ecore_x_selection_convert(Ecore_X_Atom selection, 1284EAPI void ecore_x_window_area_clear(Ecore_X_Window win, int x, int y, int w, int h);
1316 Ecore_X_Atom target, 1285EAPI void ecore_x_window_area_expose(Ecore_X_Window win, int x, int y, int w, int h);
1317 void **data_ret, 1286EAPI void ecore_x_window_override_set(Ecore_X_Window win, Eina_Bool override);
1318 int *len, 1287
1319 Ecore_X_Atom *targprop, 1288EAPI void ecore_x_window_prop_card32_set(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int *val, unsigned int num);
1320 int *targsize); 1289EAPI int ecore_x_window_prop_card32_get(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int *val, unsigned int len);
1321EAPI void 1290EAPI int ecore_x_window_prop_card32_list_get(Ecore_X_Window win, Ecore_X_Atom atom, unsigned int **plst);
1322ecore_x_selection_converter_add(char *target, 1291
1323 Eina_Bool (*func)(char *target, 1292EAPI void ecore_x_window_prop_xid_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID *lst, unsigned int num);
1324 void *data, 1293EAPI int ecore_x_window_prop_xid_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID *lst, unsigned int len);
1325 int size, 1294EAPI int ecore_x_window_prop_xid_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID **plst);
1326 void **data_ret, 1295EAPI void ecore_x_window_prop_xid_list_change(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom type, Ecore_X_ID item, int op);
1327 int *size_ret, 1296EAPI void ecore_x_window_prop_atom_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom *val, unsigned int num);
1328 Ecore_X_Atom *, 1297EAPI int ecore_x_window_prop_atom_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom *val, unsigned int len);
1329 int *)); 1298EAPI int ecore_x_window_prop_atom_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom **plst);
1330EAPI void 1299EAPI void ecore_x_window_prop_atom_list_change(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Atom item, int op);
1331ecore_x_selection_converter_atom_add(Ecore_X_Atom target, 1300EAPI void ecore_x_window_prop_window_set(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window *val, unsigned int num);
1332 Eina_Bool (*func)(char *target, 1301EAPI int ecore_x_window_prop_window_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window *val, unsigned int len);
1333 void *data, 1302EAPI int ecore_x_window_prop_window_list_get(Ecore_X_Window win, Ecore_X_Atom atom, Ecore_X_Window **plst);
1334 int size, 1303
1335 void **data_ret, 1304EAPI Ecore_X_Atom ecore_x_window_prop_any_type(void);
1336 int *size_ret, 1305EAPI 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);
1337 Ecore_X_Atom *tprop, 1306EAPI 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);
1338 int *tsize)); 1307EAPI void ecore_x_window_prop_property_del(Ecore_X_Window win, Ecore_X_Atom property);
1339EAPI void 1308EAPI Ecore_X_Atom *ecore_x_window_prop_list(Ecore_X_Window win, int *num_ret);
1340 ecore_x_selection_converter_del(char *target); 1309EAPI void ecore_x_window_prop_string_set(Ecore_X_Window win, Ecore_X_Atom type, const char *str);
1341EAPI void 1310EAPI char *ecore_x_window_prop_string_get(Ecore_X_Window win, Ecore_X_Atom type);
1342 ecore_x_selection_converter_atom_del(Ecore_X_Atom target); 1311EAPI Eina_Bool ecore_x_window_prop_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol);
1343EAPI void 1312EAPI Ecore_X_WM_Protocol *ecore_x_window_prop_protocol_list_get(Ecore_X_Window win, int *num_ret);
1344 ecore_x_selection_parser_add(const char *target, 1313
1345 void *(*func)(const char *target, void *data, int size, int format)); 1314EAPI void ecore_x_window_shape_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask);
1346EAPI void 1315EAPI void ecore_x_window_shape_window_set(Ecore_X_Window win, Ecore_X_Window shape_win);
1347 ecore_x_selection_parser_del(const char *target); 1316EAPI void ecore_x_window_shape_window_set_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y);
1348EAPI void 1317EAPI void ecore_x_window_shape_rectangle_set(Ecore_X_Window win, int x, int y, int w, int h);
1349 ecore_x_selection_owner_set(Ecore_X_Window win, 1318EAPI void ecore_x_window_shape_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num);
1350 Ecore_X_Atom atom, 1319EAPI void ecore_x_window_shape_input_rectangle_set(Ecore_X_Window win, int x, int y, int w, int h);
1351 Ecore_X_Time tm); 1320EAPI void ecore_x_window_shape_input_rectangles_set(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num);
1352EAPI Ecore_X_Window 1321EAPI void ecore_x_window_shape_input_rectangle_add(Ecore_X_Window win, int x, int y, int w, int h);
1353ecore_x_selection_owner_get(Ecore_X_Atom atom); 1322EAPI void ecore_x_window_shape_rectangle_subtract(Ecore_X_Window win, int x, int y, int w, int h);
1354 1323EAPI void ecore_x_window_shape_input_rectangle_subtract(Ecore_X_Window win, int x, int y, int w, int h);
1355EAPI void 1324EAPI void ecore_x_window_shape_input_window_set_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y);
1356ecore_x_dnd_aware_set(Ecore_X_Window win, 1325EAPI void ecore_x_window_shape_input_window_set(Ecore_X_Window win, Ecore_X_Window shape_win);
1357 Eina_Bool on); 1326EAPI void ecore_x_window_shape_window_add(Ecore_X_Window win, Ecore_X_Window shape_win);
1358EAPI int 1327EAPI void ecore_x_window_shape_window_add_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y);
1359 ecore_x_dnd_version_get(Ecore_X_Window win); 1328EAPI void ecore_x_window_shape_input_window_add_xy(Ecore_X_Window win, Ecore_X_Window shape_win, int x, int y);
1360EAPI Eina_Bool 1329EAPI void ecore_x_window_shape_rectangle_add(Ecore_X_Window win, int x, int y, int w, int h);
1361 ecore_x_dnd_type_isset(Ecore_X_Window win, 1330EAPI void ecore_x_window_shape_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int h);
1362 const char *type); 1331EAPI void ecore_x_window_shape_input_rectangle_clip(Ecore_X_Window win, int x, int y, int w, int h);
1363EAPI void 1332EAPI void ecore_x_window_shape_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num);
1364ecore_x_dnd_type_set(Ecore_X_Window win, 1333EAPI void ecore_x_window_shape_input_rectangles_add(Ecore_X_Window win, Ecore_X_Rectangle *rects, int num);
1365 const char *type, 1334EAPI Ecore_X_Rectangle *ecore_x_window_shape_rectangles_get(Ecore_X_Window win, int *num_ret);
1366 Eina_Bool on); 1335EAPI Ecore_X_Rectangle *ecore_x_window_shape_input_rectangles_get(Ecore_X_Window win, int *num_ret);
1367EAPI void 1336EAPI void ecore_x_window_shape_events_select(Ecore_X_Window win, Eina_Bool on);
1368ecore_x_dnd_types_set(Ecore_X_Window win, 1337EAPI void ecore_x_window_shape_input_mask_set(Ecore_X_Window win, Ecore_X_Pixmap mask);
1369 const char **types, 1338
1370 unsigned int num_types); 1339EAPI Ecore_X_Pixmap ecore_x_pixmap_new(Ecore_X_Window win, int w, int h, int dep);
1371EAPI void 1340EAPI void ecore_x_pixmap_free(Ecore_X_Pixmap pmap);
1372ecore_x_dnd_actions_set(Ecore_X_Window win, 1341EAPI 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);
1373 Ecore_X_Atom *actions, 1342EAPI void ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap, int *x, int *y, int *w, int *h);
1374 unsigned int num_actions); 1343EAPI int ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap);
1375EAPI Eina_Bool 1344
1376ecore_x_dnd_begin(Ecore_X_Window source, 1345EAPI Ecore_X_GC ecore_x_gc_new(Ecore_X_Drawable draw, Ecore_X_GC_Value_Mask value_mask, const unsigned int *value_list);
1377 unsigned char *data, 1346EAPI void ecore_x_gc_free(Ecore_X_GC gc);
1378 int size); 1347EAPI void ecore_x_gc_foreground_set(Ecore_X_GC gc, unsigned long foreground);
1379EAPI Eina_Bool 1348EAPI void ecore_x_gc_background_set(Ecore_X_GC gc, unsigned long background);
1380 ecore_x_dnd_drop(void); 1349
1381EAPI void 1350EAPI Eina_Bool 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);
1382 ecore_x_dnd_send_status(Eina_Bool will_accept, 1351EAPI Eina_Bool ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, const void *data, int len);
1383 Eina_Bool suppress, 1352EAPI Eina_Bool ecore_x_mouse_move_send(Ecore_X_Window win, int x, int y);
1384 Ecore_X_Rectangle rectangle, 1353EAPI Eina_Bool ecore_x_mouse_down_send(Ecore_X_Window win, int x, int y, int b);
1385 Ecore_X_Atom action); 1354EAPI Eina_Bool ecore_x_mouse_up_send(Ecore_X_Window win, int x, int y, int b);
1386EAPI void 1355EAPI Eina_Bool ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y);
1387 ecore_x_dnd_send_finished(void); 1356EAPI Eina_Bool ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y);
1388EAPI void 1357
1389 ecore_x_dnd_source_action_set(Ecore_X_Atom action); 1358EAPI void ecore_x_drawable_geometry_get(Ecore_X_Drawable d, int *x, int *y, int *w, int *h);
1390EAPI Ecore_X_Atom 1359EAPI int ecore_x_drawable_border_width_get(Ecore_X_Drawable d);
1391 ecore_x_dnd_source_action_get(void); 1360EAPI int ecore_x_drawable_depth_get(Ecore_X_Drawable d);
1392EAPI void 1361EAPI void ecore_x_drawable_rectangle_fill(Ecore_X_Drawable d, Ecore_X_GC gc, int x, int y, int width, int height);
1393 ecore_x_dnd_callback_pos_update_set(void (*cb)(void *, 1362
1394 Ecore_X_Xdnd_Position *data), 1363EAPI Eina_Bool ecore_x_cursor_color_supported_get(void);
1395 const void *data); 1364EAPI Ecore_X_Cursor ecore_x_cursor_new(Ecore_X_Window win, int *pixels, int w, int h, int hot_x, int hot_y);
1396 1365EAPI void ecore_x_cursor_free(Ecore_X_Cursor c);
1397EAPI Ecore_X_Window 1366EAPI Ecore_X_Cursor ecore_x_cursor_shape_get(int shape);
1398ecore_x_window_new(Ecore_X_Window parent, 1367EAPI void ecore_x_cursor_size_set(int size);
1399 int x, 1368EAPI int ecore_x_cursor_size_get(void);
1400 int y,
1401 int w,
1402 int h);
1403EAPI Ecore_X_Window
1404ecore_x_window_override_new(Ecore_X_Window parent,
1405 int x,
1406 int y,
1407 int w,
1408 int h);
1409EAPI int
1410 ecore_x_window_argb_get(Ecore_X_Window win);
1411EAPI Ecore_X_Window
1412 ecore_x_window_manager_argb_new(Ecore_X_Window parent,
1413 int x,
1414 int y,
1415 int w,
1416 int h);
1417EAPI Ecore_X_Window
1418ecore_x_window_argb_new(Ecore_X_Window parent,
1419 int x,
1420 int y,
1421 int w,
1422 int h);
1423EAPI Ecore_X_Window
1424ecore_x_window_override_argb_new(Ecore_X_Window parent,
1425 int x,
1426 int y,
1427 int w,
1428 int h);
1429EAPI Ecore_X_Window
1430ecore_x_window_input_new(Ecore_X_Window parent,
1431 int x,
1432 int y,
1433 int w,
1434 int h);
1435EAPI void
1436ecore_x_window_configure(Ecore_X_Window win,
1437 Ecore_X_Window_Configure_Mask mask,
1438 int x,
1439 int y,
1440 int w,
1441 int h,
1442 int border_width,
1443 Ecore_X_Window sibling,
1444 int stack_mode);
1445EAPI void
1446ecore_x_window_cursor_set(Ecore_X_Window win,
1447 Ecore_X_Cursor c);
1448EAPI void
1449 ecore_x_window_free(Ecore_X_Window win);
1450EAPI void
1451 ecore_x_window_ignore_set(Ecore_X_Window win,
1452 int ignore);
1453EAPI Ecore_X_Window *
1454ecore_x_window_ignore_list(int *num);
1455
1456EAPI void
1457 ecore_x_window_delete_request_send(Ecore_X_Window win);
1458EAPI void
1459 ecore_x_window_show(Ecore_X_Window win);
1460EAPI void
1461 ecore_x_window_hide(Ecore_X_Window win);
1462EAPI void
1463 ecore_x_window_move(Ecore_X_Window win,
1464 int x,
1465 int y);
1466EAPI void
1467ecore_x_window_resize(Ecore_X_Window win,
1468 int w,
1469 int h);
1470EAPI void
1471ecore_x_window_move_resize(Ecore_X_Window win,
1472 int x,
1473 int y,
1474 int w,
1475 int h);
1476EAPI void
1477 ecore_x_window_focus(Ecore_X_Window win);
1478EAPI void
1479 ecore_x_window_focus_at_time(Ecore_X_Window win,
1480 Ecore_X_Time t);
1481EAPI Ecore_X_Window
1482 ecore_x_window_focus_get(void);
1483EAPI void
1484 ecore_x_window_raise(Ecore_X_Window win);
1485EAPI void
1486 ecore_x_window_lower(Ecore_X_Window win);
1487EAPI void
1488 ecore_x_window_reparent(Ecore_X_Window win,
1489 Ecore_X_Window new_parent,
1490 int x,
1491 int y);
1492EAPI void
1493ecore_x_window_size_get(Ecore_X_Window win,
1494 int *w,
1495 int *h);
1496EAPI void
1497ecore_x_window_geometry_get(Ecore_X_Window win,
1498 int *x,
1499 int *y,
1500 int *w,
1501 int *h);
1502EAPI int
1503 ecore_x_window_border_width_get(Ecore_X_Window win);
1504EAPI void
1505 ecore_x_window_border_width_set(Ecore_X_Window win,
1506 int width);
1507EAPI int
1508 ecore_x_window_depth_get(Ecore_X_Window win);
1509EAPI void
1510 ecore_x_window_cursor_show(Ecore_X_Window win,
1511 Eina_Bool show);
1512EAPI void
1513 ecore_x_window_defaults_set(Ecore_X_Window win);
1514EAPI int
1515 ecore_x_window_visible_get(Ecore_X_Window win);
1516EAPI Ecore_X_Window
1517 ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base,
1518 int x,
1519 int y,
1520 Ecore_X_Window *skip,
1521 int skip_num);
1522EAPI Ecore_X_Window
1523ecore_x_window_shadow_parent_get(Ecore_X_Window root,
1524 Ecore_X_Window win);
1525EAPI void
1526 ecore_x_window_shadow_tree_flush(void);
1527EAPI Ecore_X_Window
1528 ecore_x_window_root_get(Ecore_X_Window win);
1529EAPI Ecore_X_Window
1530 ecore_x_window_at_xy_get(int x,
1531 int y);
1532EAPI Ecore_X_Window
1533ecore_x_window_at_xy_with_skip_get(int x,
1534 int y,
1535 Ecore_X_Window *skip,
1536 int skip_num);
1537EAPI Ecore_X_Window
1538ecore_x_window_at_xy_begin_get(Ecore_X_Window begin,
1539 int x,
1540 int y);
1541EAPI Ecore_X_Window
1542ecore_x_window_parent_get(Ecore_X_Window win);
1543
1544EAPI void
1545ecore_x_window_background_color_set(Ecore_X_Window win,
1546 unsigned short r,
1547 unsigned short g,
1548 unsigned short b);
1549EAPI void
1550ecore_x_window_gravity_set(Ecore_X_Window win,
1551 Ecore_X_Gravity grav);
1552EAPI void
1553ecore_x_window_pixel_gravity_set(Ecore_X_Window win,
1554 Ecore_X_Gravity grav);
1555EAPI void
1556ecore_x_window_pixmap_set(Ecore_X_Window win,
1557 Ecore_X_Pixmap pmap);
1558EAPI void
1559ecore_x_window_area_clear(Ecore_X_Window win,
1560 int x,
1561 int y,
1562 int w,
1563 int h);
1564EAPI void
1565ecore_x_window_area_expose(Ecore_X_Window win,
1566 int x,
1567 int y,
1568 int w,
1569 int h);
1570EAPI void
1571ecore_x_window_override_set(Ecore_X_Window win,
1572 Eina_Bool override);
1573
1574EAPI void
1575ecore_x_window_prop_card32_set(Ecore_X_Window win,
1576 Ecore_X_Atom atom,
1577 unsigned int *val,
1578 unsigned int num);
1579EAPI int
1580ecore_x_window_prop_card32_get(Ecore_X_Window win,
1581 Ecore_X_Atom atom,
1582 unsigned int *val,
1583 unsigned int len);
1584EAPI int
1585ecore_x_window_prop_card32_list_get(Ecore_X_Window win,
1586 Ecore_X_Atom atom,
1587 unsigned int **plst);
1588
1589EAPI void
1590ecore_x_window_prop_xid_set(Ecore_X_Window win,
1591 Ecore_X_Atom atom,
1592 Ecore_X_Atom type,
1593 Ecore_X_ID *lst,
1594 unsigned int num);
1595EAPI int
1596ecore_x_window_prop_xid_get(Ecore_X_Window win,
1597 Ecore_X_Atom atom,
1598 Ecore_X_Atom type,
1599 Ecore_X_ID *lst,
1600 unsigned int len);
1601EAPI int
1602ecore_x_window_prop_xid_list_get(Ecore_X_Window win,
1603 Ecore_X_Atom atom,
1604 Ecore_X_Atom type,
1605 Ecore_X_ID **plst);
1606EAPI void
1607ecore_x_window_prop_xid_list_change(Ecore_X_Window win,
1608 Ecore_X_Atom atom,
1609 Ecore_X_Atom type,
1610 Ecore_X_ID item,
1611 int op);
1612EAPI void
1613ecore_x_window_prop_atom_set(Ecore_X_Window win,
1614 Ecore_X_Atom atom,
1615 Ecore_X_Atom *val,
1616 unsigned int num);
1617EAPI int
1618ecore_x_window_prop_atom_get(Ecore_X_Window win,
1619 Ecore_X_Atom atom,
1620 Ecore_X_Atom *val,
1621 unsigned int len);
1622EAPI int
1623ecore_x_window_prop_atom_list_get(Ecore_X_Window win,
1624 Ecore_X_Atom atom,
1625 Ecore_X_Atom **plst);
1626EAPI void
1627ecore_x_window_prop_atom_list_change(Ecore_X_Window win,
1628 Ecore_X_Atom atom,
1629 Ecore_X_Atom item,
1630 int op);
1631EAPI void
1632ecore_x_window_prop_window_set(Ecore_X_Window win,
1633 Ecore_X_Atom atom,
1634 Ecore_X_Window *val,
1635 unsigned int num);
1636EAPI int
1637ecore_x_window_prop_window_get(Ecore_X_Window win,
1638 Ecore_X_Atom atom,
1639 Ecore_X_Window *val,
1640 unsigned int len);
1641EAPI int
1642ecore_x_window_prop_window_list_get(Ecore_X_Window win,
1643 Ecore_X_Atom atom,
1644 Ecore_X_Window **plst);
1645
1646EAPI Ecore_X_Atom
1647 ecore_x_window_prop_any_type(void);
1648EAPI void
1649 ecore_x_window_prop_property_set(Ecore_X_Window win,
1650 Ecore_X_Atom type,
1651 Ecore_X_Atom format,
1652 int size,
1653 void *data,
1654 int number);
1655EAPI int
1656ecore_x_window_prop_property_get(Ecore_X_Window win,
1657 Ecore_X_Atom property,
1658 Ecore_X_Atom type,
1659 int size,
1660 unsigned char **data,
1661 int *num);
1662EAPI void
1663ecore_x_window_prop_property_del(Ecore_X_Window win,
1664 Ecore_X_Atom property);
1665EAPI Ecore_X_Atom *
1666ecore_x_window_prop_list(Ecore_X_Window win,
1667 int *num_ret);
1668EAPI void
1669ecore_x_window_prop_string_set(Ecore_X_Window win,
1670 Ecore_X_Atom type,
1671 const char *str);
1672EAPI char *
1673ecore_x_window_prop_string_get(Ecore_X_Window win,
1674 Ecore_X_Atom type);
1675EAPI Eina_Bool
1676ecore_x_window_prop_protocol_isset(Ecore_X_Window win,
1677 Ecore_X_WM_Protocol protocol);
1678EAPI Ecore_X_WM_Protocol *
1679ecore_x_window_prop_protocol_list_get(Ecore_X_Window win,
1680 int *num_ret);
1681
1682EAPI void
1683ecore_x_window_shape_mask_set(Ecore_X_Window win,
1684 Ecore_X_Pixmap mask);
1685EAPI void
1686ecore_x_window_shape_window_set(Ecore_X_Window win,
1687 Ecore_X_Window shape_win);
1688EAPI void
1689ecore_x_window_shape_window_set_xy(Ecore_X_Window win,
1690 Ecore_X_Window shape_win,
1691 int x,
1692 int y);
1693EAPI void
1694ecore_x_window_shape_rectangle_set(Ecore_X_Window win,
1695 int x,
1696 int y,
1697 int w,
1698 int h);
1699EAPI void
1700ecore_x_window_shape_rectangles_set(Ecore_X_Window win,
1701 Ecore_X_Rectangle *rects,
1702 int num);
1703EAPI void
1704ecore_x_window_shape_input_rectangle_set(Ecore_X_Window win,
1705 int x,
1706 int y,
1707 int w,
1708 int h);
1709EAPI void
1710ecore_x_window_shape_input_rectangles_set(Ecore_X_Window win,
1711 Ecore_X_Rectangle *rects,
1712 int num);
1713EAPI void
1714ecore_x_window_shape_input_rectangle_add(Ecore_X_Window win,
1715 int x,
1716 int y,
1717 int w,
1718 int h);
1719EAPI void
1720ecore_x_window_shape_rectangle_subtract(Ecore_X_Window win,
1721 int x,
1722 int y,
1723 int w,
1724 int h);
1725EAPI void
1726ecore_x_window_shape_input_rectangle_subtract(Ecore_X_Window win,
1727 int x,
1728 int y,
1729 int w,
1730 int h);
1731EAPI void
1732ecore_x_window_shape_input_window_set_xy(Ecore_X_Window win,
1733 Ecore_X_Window shape_win,
1734 int x,
1735 int y);
1736EAPI void
1737ecore_x_window_shape_input_window_set(Ecore_X_Window win,
1738 Ecore_X_Window shape_win);
1739EAPI void
1740ecore_x_window_shape_window_add(Ecore_X_Window win,
1741 Ecore_X_Window shape_win);
1742EAPI void
1743ecore_x_window_shape_window_add_xy(Ecore_X_Window win,
1744 Ecore_X_Window shape_win,
1745 int x,
1746 int y);
1747EAPI void
1748ecore_x_window_shape_input_window_add_xy(Ecore_X_Window win,
1749 Ecore_X_Window shape_win,
1750 int x,
1751 int y);
1752EAPI void
1753ecore_x_window_shape_rectangle_add(Ecore_X_Window win,
1754 int x,
1755 int y,
1756 int w,
1757 int h);
1758EAPI void
1759ecore_x_window_shape_rectangle_clip(Ecore_X_Window win,
1760 int x,
1761 int y,
1762 int w,
1763 int h);
1764EAPI void
1765ecore_x_window_shape_input_rectangle_clip(Ecore_X_Window win,
1766 int x,
1767 int y,
1768 int w,
1769 int h);
1770EAPI void
1771ecore_x_window_shape_rectangles_add(Ecore_X_Window win,
1772 Ecore_X_Rectangle *rects,
1773 int num);
1774EAPI void
1775ecore_x_window_shape_input_rectangles_add(Ecore_X_Window win,
1776 Ecore_X_Rectangle *rects,
1777 int num);
1778EAPI Ecore_X_Rectangle *
1779ecore_x_window_shape_rectangles_get(Ecore_X_Window win,
1780 int *num_ret);
1781EAPI Ecore_X_Rectangle *
1782ecore_x_window_shape_input_rectangles_get(Ecore_X_Window win,
1783 int *num_ret);
1784EAPI void
1785ecore_x_window_shape_events_select(Ecore_X_Window win,
1786 Eina_Bool on);
1787EAPI void
1788ecore_x_window_shape_input_mask_set(Ecore_X_Window win,
1789 Ecore_X_Pixmap mask);
1790
1791EAPI Ecore_X_Pixmap
1792ecore_x_pixmap_new(Ecore_X_Window win,
1793 int w,
1794 int h,
1795 int dep);
1796EAPI void
1797 ecore_x_pixmap_free(Ecore_X_Pixmap pmap);
1798EAPI void
1799 ecore_x_pixmap_paste(Ecore_X_Pixmap pmap,
1800 Ecore_X_Drawable dest,
1801 Ecore_X_GC gc,
1802 int sx,
1803 int sy,
1804 int w,
1805 int h,
1806 int dx,
1807 int dy);
1808EAPI void
1809ecore_x_pixmap_geometry_get(Ecore_X_Pixmap pmap,
1810 int *x,
1811 int *y,
1812 int *w,
1813 int *h);
1814EAPI int
1815ecore_x_pixmap_depth_get(Ecore_X_Pixmap pmap);
1816
1817EAPI Ecore_X_GC
1818ecore_x_gc_new(Ecore_X_Drawable draw,
1819 Ecore_X_GC_Value_Mask value_mask,
1820 const unsigned int *value_list);
1821EAPI void
1822 ecore_x_gc_free(Ecore_X_GC gc);
1823EAPI void
1824 ecore_x_gc_foreground_set(Ecore_X_GC gc,
1825 unsigned long foreground);
1826EAPI void
1827ecore_x_gc_background_set(Ecore_X_GC gc,
1828 unsigned long background);
1829
1830EAPI Eina_Bool
1831ecore_x_client_message32_send(Ecore_X_Window win,
1832 Ecore_X_Atom type,
1833 Ecore_X_Event_Mask mask,
1834 long d0,
1835 long d1,
1836 long d2,
1837 long d3,
1838 long d4);
1839EAPI Eina_Bool
1840ecore_x_client_message8_send(Ecore_X_Window win,
1841 Ecore_X_Atom type,
1842 const void *data,
1843 int len);
1844EAPI Eina_Bool
1845ecore_x_mouse_move_send(Ecore_X_Window win,
1846 int x,
1847 int y);
1848EAPI Eina_Bool
1849ecore_x_mouse_down_send(Ecore_X_Window win,
1850 int x,
1851 int y,
1852 int b);
1853EAPI Eina_Bool
1854ecore_x_mouse_up_send(Ecore_X_Window win,
1855 int x,
1856 int y,
1857 int b);
1858EAPI Eina_Bool
1859ecore_x_mouse_in_send(Ecore_X_Window win, int x, int y);
1860EAPI Eina_Bool
1861ecore_x_mouse_out_send(Ecore_X_Window win, int x, int y);
1862
1863EAPI void
1864ecore_x_drawable_geometry_get(Ecore_X_Drawable d,
1865 int *x,
1866 int *y,
1867 int *w,
1868 int *h);
1869EAPI int
1870 ecore_x_drawable_border_width_get(Ecore_X_Drawable d);
1871EAPI int
1872 ecore_x_drawable_depth_get(Ecore_X_Drawable d);
1873EAPI void
1874 ecore_x_drawable_rectangle_fill(Ecore_X_Drawable d,
1875 Ecore_X_GC gc,
1876 int x,
1877 int y,
1878 int width,
1879 int height);
1880
1881EAPI Eina_Bool
1882 ecore_x_cursor_color_supported_get(void);
1883EAPI Ecore_X_Cursor
1884 ecore_x_cursor_new(Ecore_X_Window win,
1885 int *pixels,
1886 int w,
1887 int h,
1888 int hot_x,
1889 int hot_y);
1890EAPI void
1891 ecore_x_cursor_free(Ecore_X_Cursor c);
1892EAPI Ecore_X_Cursor
1893 ecore_x_cursor_shape_get(int shape);
1894EAPI void
1895 ecore_x_cursor_size_set(int size);
1896EAPI int
1897 ecore_x_cursor_size_get(void);
1898 1369
1899/* FIXME: these funcs need categorising */ 1370/* FIXME: these funcs need categorising */
1900EAPI Ecore_X_Window * 1371EAPI Ecore_X_Window *ecore_x_window_root_list(int *num_ret);
1901 ecore_x_window_root_list(int *num_ret); 1372EAPI Ecore_X_Window ecore_x_window_root_first_get(void);
1902EAPI Ecore_X_Window 1373EAPI Eina_Bool ecore_x_window_manage(Ecore_X_Window win);
1903 ecore_x_window_root_first_get(void); 1374EAPI void ecore_x_window_container_manage(Ecore_X_Window win);
1904EAPI Eina_Bool 1375EAPI void ecore_x_window_client_manage(Ecore_X_Window win);
1905 ecore_x_window_manage(Ecore_X_Window win); 1376EAPI void ecore_x_window_sniff(Ecore_X_Window win);
1906EAPI void 1377EAPI void ecore_x_window_client_sniff(Ecore_X_Window win);
1907 ecore_x_window_container_manage(Ecore_X_Window win); 1378
1908EAPI void 1379EAPI Ecore_X_Atom ecore_x_atom_get(const char *name);
1909 ecore_x_window_client_manage(Ecore_X_Window win); 1380EAPI void ecore_x_atoms_get(const char **names, int num, Ecore_X_Atom *atoms);
1910EAPI void 1381EAPI char *ecore_x_atom_name_get(Ecore_X_Atom atom);
1911 ecore_x_window_sniff(Ecore_X_Window win); 1382
1912EAPI void 1383EAPI void ecore_x_icccm_init(void);
1913 ecore_x_window_client_sniff(Ecore_X_Window win); 1384EAPI void ecore_x_icccm_state_set(Ecore_X_Window win, Ecore_X_Window_State_Hint state);
1914 1385EAPI Ecore_X_Window_State_Hint ecore_x_icccm_state_get(Ecore_X_Window win);
1915EAPI Ecore_X_Atom 1386EAPI void ecore_x_icccm_delete_window_send(Ecore_X_Window win, Ecore_X_Time t);
1916 ecore_x_atom_get(const char *name); 1387EAPI void ecore_x_icccm_take_focus_send(Ecore_X_Window win, Ecore_X_Time t);
1917EAPI void 1388EAPI void ecore_x_icccm_save_yourself_send(Ecore_X_Window win, Ecore_X_Time t);
1918 ecore_x_atoms_get(const char **names, 1389EAPI void ecore_x_icccm_move_resize_send(Ecore_X_Window win, int x, int y, int w, int h);
1919 int num, 1390EAPI void ecore_x_icccm_hints_set(Ecore_X_Window win, Eina_Bool accepts_focus, Ecore_X_Window_State_Hint initial_state, Ecore_X_Pixmap icon_pixmap, Ecore_X_Pixmap icon_mask, Ecore_X_Window icon_window, Ecore_X_Window window_group, Eina_Bool is_urgent);
1920 Ecore_X_Atom *atoms); 1391EAPI Eina_Bool ecore_x_icccm_hints_get(Ecore_X_Window win, Eina_Bool *accepts_focus, Ecore_X_Window_State_Hint *initial_state, Ecore_X_Pixmap *icon_pixmap, Ecore_X_Pixmap *icon_mask, Ecore_X_Window *icon_window, Ecore_X_Window *window_group, Eina_Bool *is_urgent);
1921EAPI char * 1392EAPI void ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win, Eina_Bool request_pos, Ecore_X_Gravity gravity, int min_w, int min_h, int max_w, int max_h, int base_w, int base_h, int step_x, int step_y, double min_aspect, double max_aspect);
1922ecore_x_atom_name_get(Ecore_X_Atom atom); 1393EAPI Eina_Bool ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win, Eina_Bool *request_pos, Ecore_X_Gravity *gravity, int *min_w, int *min_h, int *max_w, int *max_h, int *base_w, int *base_h, int *step_x, int *step_y, double *min_aspect, double *max_aspect);
1923 1394EAPI void ecore_x_icccm_title_set(Ecore_X_Window win, const char *t);
1924EAPI void 1395EAPI char *ecore_x_icccm_title_get(Ecore_X_Window win);
1925 ecore_x_icccm_init(void); 1396EAPI void ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win, Ecore_X_Atom *protos, int num);
1926EAPI void 1397EAPI void ecore_x_icccm_protocol_set(Ecore_X_Window win, Ecore_X_WM_Protocol protocol, Eina_Bool on);
1927 ecore_x_icccm_state_set(Ecore_X_Window win, 1398EAPI Eina_Bool ecore_x_icccm_protocol_isset(Ecore_X_Window win, Ecore_X_WM_Protocol protocol);
1928 Ecore_X_Window_State_Hint state); 1399EAPI void ecore_x_icccm_name_class_set(Ecore_X_Window win, const char *n, const char *c);
1929EAPI Ecore_X_Window_State_Hint 1400EAPI void ecore_x_icccm_name_class_get(Ecore_X_Window win, char **n, char **c);
1930 ecore_x_icccm_state_get(Ecore_X_Window win); 1401EAPI char *ecore_x_icccm_client_machine_get(Ecore_X_Window win);
1931EAPI void 1402EAPI void ecore_x_icccm_command_set(Ecore_X_Window win, int argc, char **argv);
1932 ecore_x_icccm_delete_window_send(Ecore_X_Window win, 1403EAPI void ecore_x_icccm_command_get(Ecore_X_Window win, int *argc, char ***argv);
1933 Ecore_X_Time t); 1404EAPI char *ecore_x_icccm_icon_name_get(Ecore_X_Window win);
1934EAPI void 1405EAPI void ecore_x_icccm_icon_name_set(Ecore_X_Window win, const char *t);
1935ecore_x_icccm_take_focus_send(Ecore_X_Window win, 1406EAPI void ecore_x_icccm_colormap_window_set(Ecore_X_Window win, Ecore_X_Window subwin);
1936 Ecore_X_Time t); 1407EAPI void ecore_x_icccm_colormap_window_unset(Ecore_X_Window win, Ecore_X_Window subwin);
1937EAPI void 1408EAPI void ecore_x_icccm_transient_for_set(Ecore_X_Window win, Ecore_X_Window forwin);
1938ecore_x_icccm_save_yourself_send(Ecore_X_Window win, 1409EAPI void ecore_x_icccm_transient_for_unset(Ecore_X_Window win);
1939 Ecore_X_Time t); 1410EAPI Ecore_X_Window ecore_x_icccm_transient_for_get(Ecore_X_Window win);
1940EAPI void 1411EAPI void ecore_x_icccm_window_role_set(Ecore_X_Window win, const char *role);
1941ecore_x_icccm_move_resize_send(Ecore_X_Window win, 1412EAPI char *ecore_x_icccm_window_role_get(Ecore_X_Window win);
1942 int x, 1413EAPI void ecore_x_icccm_client_leader_set(Ecore_X_Window win, Ecore_X_Window l);
1943 int y, 1414EAPI Ecore_X_Window ecore_x_icccm_client_leader_get(Ecore_X_Window win);
1944 int w, 1415EAPI void ecore_x_icccm_iconic_request_send(Ecore_X_Window win, Ecore_X_Window root);
1945 int h);
1946EAPI void
1947ecore_x_icccm_hints_set(Ecore_X_Window win,
1948 Eina_Bool accepts_focus,
1949 Ecore_X_Window_State_Hint initial_state,
1950 Ecore_X_Pixmap icon_pixmap,
1951 Ecore_X_Pixmap icon_mask,
1952 Ecore_X_Window icon_window,
1953 Ecore_X_Window window_group,
1954 Eina_Bool is_urgent);
1955EAPI Eina_Bool
1956ecore_x_icccm_hints_get(Ecore_X_Window win,
1957 Eina_Bool *accepts_focus,
1958 Ecore_X_Window_State_Hint *initial_state,
1959 Ecore_X_Pixmap *icon_pixmap,
1960 Ecore_X_Pixmap *icon_mask,
1961 Ecore_X_Window *icon_window,
1962 Ecore_X_Window *window_group,
1963 Eina_Bool *is_urgent);
1964EAPI void
1965ecore_x_icccm_size_pos_hints_set(Ecore_X_Window win,
1966 Eina_Bool request_pos,
1967 Ecore_X_Gravity gravity,
1968 int min_w,
1969 int min_h,
1970 int max_w,
1971 int max_h,
1972 int base_w,
1973 int base_h,
1974 int step_x,
1975 int step_y,
1976 double min_aspect,
1977 double max_aspect);
1978EAPI Eina_Bool
1979ecore_x_icccm_size_pos_hints_get(Ecore_X_Window win,
1980 Eina_Bool *request_pos,
1981 Ecore_X_Gravity *gravity,
1982 int *min_w,
1983 int *min_h,
1984 int *max_w,
1985 int *max_h,
1986 int *base_w,
1987 int *base_h,
1988 int *step_x,
1989 int *step_y,
1990 double *min_aspect,
1991 double *max_aspect);
1992EAPI void
1993ecore_x_icccm_title_set(Ecore_X_Window win,
1994 const char *t);
1995EAPI char *
1996 ecore_x_icccm_title_get(Ecore_X_Window win);
1997EAPI void
1998 ecore_x_icccm_protocol_atoms_set(Ecore_X_Window win,
1999 Ecore_X_Atom *protos,
2000 int num);
2001EAPI void
2002ecore_x_icccm_protocol_set(Ecore_X_Window win,
2003 Ecore_X_WM_Protocol protocol,
2004 Eina_Bool on);
2005EAPI Eina_Bool
2006ecore_x_icccm_protocol_isset(Ecore_X_Window win,
2007 Ecore_X_WM_Protocol protocol);
2008EAPI void
2009ecore_x_icccm_name_class_set(Ecore_X_Window win,
2010 const char *n,
2011 const char *c);
2012EAPI void
2013ecore_x_icccm_name_class_get(Ecore_X_Window win,
2014 char **n,
2015 char **c);
2016EAPI char *
2017 ecore_x_icccm_client_machine_get(Ecore_X_Window win);
2018EAPI void
2019 ecore_x_icccm_command_set(Ecore_X_Window win,
2020 int argc,
2021 char **argv);
2022EAPI void
2023ecore_x_icccm_command_get(Ecore_X_Window win,
2024 int *argc,
2025 char ***argv);
2026EAPI char *
2027 ecore_x_icccm_icon_name_get(Ecore_X_Window win);
2028EAPI void
2029 ecore_x_icccm_icon_name_set(Ecore_X_Window win,
2030 const char *t);
2031EAPI void
2032ecore_x_icccm_colormap_window_set(Ecore_X_Window win,
2033 Ecore_X_Window subwin);
2034EAPI void
2035ecore_x_icccm_colormap_window_unset(Ecore_X_Window win,
2036 Ecore_X_Window subwin);
2037EAPI void
2038ecore_x_icccm_transient_for_set(Ecore_X_Window win,
2039 Ecore_X_Window forwin);
2040EAPI void
2041 ecore_x_icccm_transient_for_unset(Ecore_X_Window win);
2042EAPI Ecore_X_Window
2043 ecore_x_icccm_transient_for_get(Ecore_X_Window win);
2044EAPI void
2045 ecore_x_icccm_window_role_set(Ecore_X_Window win,
2046 const char *role);
2047EAPI char *
2048 ecore_x_icccm_window_role_get(Ecore_X_Window win);
2049EAPI void
2050 ecore_x_icccm_client_leader_set(Ecore_X_Window win,
2051 Ecore_X_Window l);
2052EAPI Ecore_X_Window
2053 ecore_x_icccm_client_leader_get(Ecore_X_Window win);
2054EAPI void
2055 ecore_x_icccm_iconic_request_send(Ecore_X_Window win,
2056 Ecore_X_Window root);
2057 1416
2058typedef enum _Ecore_X_MWM_Hint_Func 1417typedef enum _Ecore_X_MWM_Hint_Func
2059{ 1418{
@@ -2084,540 +1443,180 @@ typedef enum _Ecore_X_MWM_Hint_Input
2084 ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL = 3 1443 ECORE_X_MWM_HINT_INPUT_FULL_APPLICATION_MODAL = 3
2085} Ecore_X_MWM_Hint_Input; 1444} Ecore_X_MWM_Hint_Input;
2086 1445
2087EAPI Eina_Bool 1446EAPI Eina_Bool ecore_x_mwm_hints_get(Ecore_X_Window win, Ecore_X_MWM_Hint_Func *fhint, Ecore_X_MWM_Hint_Decor *dhint, Ecore_X_MWM_Hint_Input *ihint);
2088ecore_x_mwm_hints_get(Ecore_X_Window win, 1447EAPI void ecore_x_mwm_borderless_set(Ecore_X_Window win, Eina_Bool borderless);
2089 Ecore_X_MWM_Hint_Func *fhint,
2090 Ecore_X_MWM_Hint_Decor *dhint,
2091 Ecore_X_MWM_Hint_Input *ihint);
2092EAPI void
2093ecore_x_mwm_borderless_set(Ecore_X_Window win,
2094 Eina_Bool borderless);
2095 1448
2096/* netwm */ 1449/* netwm */
2097EAPI void 1450EAPI void ecore_x_netwm_init(void);
2098 ecore_x_netwm_init(void); 1451EAPI void ecore_x_netwm_shutdown(void);
2099EAPI void 1452EAPI void ecore_x_netwm_wm_identify(Ecore_X_Window root, Ecore_X_Window check, const char *wm_name);
2100 ecore_x_netwm_shutdown(void); 1453EAPI void ecore_x_netwm_supported_set(Ecore_X_Window root, Ecore_X_Atom *supported, int num);
2101EAPI void 1454EAPI Eina_Bool ecore_x_netwm_supported_get(Ecore_X_Window root, Ecore_X_Atom **supported, int *num);
2102 ecore_x_netwm_wm_identify(Ecore_X_Window root, 1455EAPI void ecore_x_netwm_desk_count_set(Ecore_X_Window root, unsigned int n_desks);
2103 Ecore_X_Window check, 1456EAPI void ecore_x_netwm_desk_roots_set(Ecore_X_Window root, Ecore_X_Window *vroots, unsigned int n_desks);
2104 const char *wm_name); 1457EAPI void ecore_x_netwm_desk_names_set(Ecore_X_Window root, const char **names, unsigned int n_desks);
2105EAPI void 1458EAPI void ecore_x_netwm_desk_size_set(Ecore_X_Window root, unsigned int width, unsigned int height);
2106ecore_x_netwm_supported_set(Ecore_X_Window root, 1459EAPI void ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, unsigned int *areas, unsigned int n_desks);
2107 Ecore_X_Atom *supported, 1460EAPI unsigned int *ecore_x_netwm_desk_workareas_get(Ecore_X_Window root, unsigned int *n_desks);
2108 int num); 1461EAPI void ecore_x_netwm_desk_current_set(Ecore_X_Window root, unsigned int desk);
2109EAPI Eina_Bool 1462EAPI void ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, unsigned int *origins, unsigned int n_desks);
2110ecore_x_netwm_supported_get(Ecore_X_Window root, 1463EAPI void ecore_x_netwm_desk_layout_set(Ecore_X_Window root, int orientation, int columns, int rows, int starting_corner);
2111 Ecore_X_Atom **supported, 1464EAPI void ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, Eina_Bool on);
2112 int *num); 1465EAPI void ecore_x_netwm_client_list_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients);
2113EAPI void 1466EAPI void ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, Ecore_X_Window *p_clients, unsigned int n_clients);
2114ecore_x_netwm_desk_count_set(Ecore_X_Window root, 1467EAPI void ecore_x_netwm_client_active_set(Ecore_X_Window root, Ecore_X_Window win);
2115 unsigned int n_desks); 1468EAPI void ecore_x_netwm_client_active_request(Ecore_X_Window root, Ecore_X_Window win, int type, Ecore_X_Window current_win);
2116EAPI void 1469EAPI void ecore_x_netwm_name_set(Ecore_X_Window win, const char *name);
2117ecore_x_netwm_desk_roots_set(Ecore_X_Window root, 1470EAPI int ecore_x_netwm_name_get(Ecore_X_Window win, char **name);
2118 Ecore_X_Window *vroots, 1471EAPI void ecore_x_netwm_startup_id_set(Ecore_X_Window win, const char *id);
2119 unsigned int n_desks); 1472EAPI int ecore_x_netwm_startup_id_get(Ecore_X_Window win, char **id);
2120EAPI void 1473EAPI void ecore_x_netwm_visible_name_set(Ecore_X_Window win, const char *name);
2121ecore_x_netwm_desk_names_set(Ecore_X_Window root, 1474EAPI int ecore_x_netwm_visible_name_get(Ecore_X_Window win, char **name);
2122 const char **names, 1475EAPI void ecore_x_netwm_icon_name_set(Ecore_X_Window win, const char *name);
2123 unsigned int n_desks); 1476EAPI int ecore_x_netwm_icon_name_get(Ecore_X_Window win, char **name);
2124EAPI void 1477EAPI void ecore_x_netwm_visible_icon_name_set(Ecore_X_Window win, const char *name);
2125ecore_x_netwm_desk_size_set(Ecore_X_Window root, 1478EAPI int ecore_x_netwm_visible_icon_name_get(Ecore_X_Window win, char **name);
2126 unsigned int width, 1479EAPI void ecore_x_netwm_desktop_set(Ecore_X_Window win, unsigned int desk);
2127 unsigned int height); 1480EAPI Eina_Bool ecore_x_netwm_desktop_get(Ecore_X_Window win, unsigned int *desk);
2128EAPI void 1481EAPI void ecore_x_netwm_strut_set(Ecore_X_Window win, int left, int right, int top, int bottom);
2129ecore_x_netwm_desk_workareas_set(Ecore_X_Window root, 1482EAPI Eina_Bool ecore_x_netwm_strut_get(Ecore_X_Window win, int *left, int *right, int *top, int *bottom);
2130 unsigned int *areas, 1483EAPI 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);
2131 unsigned int n_desks); 1484EAPI Eina_Bool 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);
2132EAPI unsigned int * 1485
2133ecore_x_netwm_desk_workareas_get(Ecore_X_Window root, 1486EAPI void ecore_x_netwm_icons_set(Ecore_X_Window win, Ecore_X_Icon *icon, int num);
2134 unsigned int *n_desks); 1487
2135EAPI void 1488EAPI Eina_Bool ecore_x_netwm_icons_get(Ecore_X_Window win, Ecore_X_Icon **icon, int *num);
2136ecore_x_netwm_desk_current_set(Ecore_X_Window root, 1489EAPI void ecore_x_netwm_icon_geometry_set(Ecore_X_Window win, int x, int y, int width, int height);
2137 unsigned int desk); 1490EAPI Eina_Bool ecore_x_netwm_icon_geometry_get(Ecore_X_Window win, int *x, int *y, int *width, int *height);
2138EAPI void 1491EAPI void ecore_x_netwm_pid_set(Ecore_X_Window win, int pid);
2139ecore_x_netwm_desk_viewports_set(Ecore_X_Window root, 1492EAPI Eina_Bool ecore_x_netwm_pid_get(Ecore_X_Window win, int *pid);
2140 unsigned int *origins, 1493EAPI void ecore_x_netwm_handled_icons_set(Ecore_X_Window win);
2141 unsigned int n_desks); 1494EAPI Eina_Bool ecore_x_netwm_handled_icons_get(Ecore_X_Window win);
2142EAPI void 1495EAPI void ecore_x_netwm_user_time_set(Ecore_X_Window win, unsigned int time);
2143ecore_x_netwm_desk_layout_set(Ecore_X_Window root, 1496EAPI Eina_Bool ecore_x_netwm_user_time_get(Ecore_X_Window win, unsigned int *time);
2144 int orientation, 1497EAPI void ecore_x_netwm_window_state_set(Ecore_X_Window win, Ecore_X_Window_State *state, unsigned int num);
2145 int columns, 1498EAPI Eina_Bool ecore_x_netwm_window_state_get(Ecore_X_Window win, Ecore_X_Window_State **state, unsigned int *num);
2146 int rows, 1499EAPI void ecore_x_netwm_window_type_set(Ecore_X_Window win, Ecore_X_Window_Type type);
2147 int starting_corner); 1500EAPI Eina_Bool ecore_x_netwm_window_type_get(Ecore_X_Window win, Ecore_X_Window_Type *type);
2148EAPI void 1501EAPI int ecore_x_netwm_window_types_get(Ecore_X_Window win, Ecore_X_Window_Type **types);
2149ecore_x_netwm_showing_desktop_set(Ecore_X_Window root, 1502EAPI Eina_Bool ecore_x_netwm_allowed_action_isset(Ecore_X_Window win, Ecore_X_Action action);
2150 Eina_Bool on); 1503EAPI void ecore_x_netwm_allowed_action_set(Ecore_X_Window win, Ecore_X_Action *action, unsigned int num);
2151EAPI void 1504EAPI Eina_Bool ecore_x_netwm_allowed_action_get(Ecore_X_Window win, Ecore_X_Action **action, unsigned int *num);
2152ecore_x_netwm_client_list_set(Ecore_X_Window root, 1505EAPI void ecore_x_netwm_opacity_set(Ecore_X_Window win, unsigned int opacity);
2153 Ecore_X_Window *p_clients, 1506EAPI Eina_Bool ecore_x_netwm_opacity_get(Ecore_X_Window win, unsigned int *opacity);
2154 unsigned int n_clients); 1507EAPI void ecore_x_netwm_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb);
2155EAPI void 1508EAPI Eina_Bool ecore_x_netwm_frame_size_get(Ecore_X_Window win, int *fl, int *fr, int *ft, int *fb);
2156ecore_x_netwm_client_list_stacking_set(Ecore_X_Window root, 1509EAPI Eina_Bool ecore_x_netwm_sync_counter_get(Ecore_X_Window win, Ecore_X_Sync_Counter *counter);
2157 Ecore_X_Window *p_clients, 1510EAPI void ecore_x_netwm_ping_send(Ecore_X_Window win);
2158 unsigned int n_clients); 1511EAPI void ecore_x_netwm_sync_request_send(Ecore_X_Window win, unsigned int serial);
2159EAPI void 1512EAPI 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, Eina_Bool set);
2160ecore_x_netwm_client_active_set(Ecore_X_Window root, 1513EAPI void ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsigned int desktop);
2161 Ecore_X_Window win); 1514
2162EAPI void 1515EAPI void ecore_x_e_init(void);
2163ecore_x_netwm_client_active_request(Ecore_X_Window root, 1516EAPI void ecore_x_e_frame_size_set(Ecore_X_Window win, int fl, int fr, int ft, int fb);
2164 Ecore_X_Window win, 1517EAPI void ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, unsigned int is_keyboard);
2165 int type, 1518EAPI Eina_Bool ecore_x_e_virtual_keyboard_get(Ecore_X_Window win);
2166 Ecore_X_Window current_win); 1519EAPI void ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
2167EAPI void 1520EAPI Ecore_X_Virtual_Keyboard_State ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win);
2168ecore_x_netwm_name_set(Ecore_X_Window win, 1521EAPI void ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, Ecore_X_Virtual_Keyboard_State state);
2169 const char *name);
2170EAPI int
2171ecore_x_netwm_name_get(Ecore_X_Window win,
2172 char **name);
2173EAPI void
2174ecore_x_netwm_startup_id_set(Ecore_X_Window win,
2175 const char *id);
2176EAPI int
2177ecore_x_netwm_startup_id_get(Ecore_X_Window win,
2178 char **id);
2179EAPI void
2180ecore_x_netwm_visible_name_set(Ecore_X_Window win,
2181 const char *name);
2182EAPI int
2183ecore_x_netwm_visible_name_get(Ecore_X_Window win,
2184 char **name);
2185EAPI void
2186ecore_x_netwm_icon_name_set(Ecore_X_Window win,
2187 const char *name);
2188EAPI int
2189ecore_x_netwm_icon_name_get(Ecore_X_Window win,
2190 char **name);
2191EAPI void
2192ecore_x_netwm_visible_icon_name_set(Ecore_X_Window win,
2193 const char *name);
2194EAPI int
2195ecore_x_netwm_visible_icon_name_get(Ecore_X_Window win,
2196 char **name);
2197EAPI void
2198ecore_x_netwm_desktop_set(Ecore_X_Window win,
2199 unsigned int desk);
2200EAPI Eina_Bool
2201ecore_x_netwm_desktop_get(Ecore_X_Window win,
2202 unsigned int *desk);
2203EAPI void
2204ecore_x_netwm_strut_set(Ecore_X_Window win,
2205 int left,
2206 int right,
2207 int top,
2208 int bottom);
2209EAPI Eina_Bool
2210ecore_x_netwm_strut_get(Ecore_X_Window win,
2211 int *left,
2212 int *right,
2213 int *top,
2214 int *bottom);
2215EAPI void
2216ecore_x_netwm_strut_partial_set(Ecore_X_Window win,
2217 int left,
2218 int right,
2219 int top,
2220 int bottom,
2221 int left_start_y,
2222 int left_end_y,
2223 int right_start_y,
2224 int right_end_y,
2225 int top_start_x,
2226 int top_end_x,
2227 int bottom_start_x,
2228 int bottom_end_x);
2229EAPI Eina_Bool
2230ecore_x_netwm_strut_partial_get(Ecore_X_Window win,
2231 int *left,
2232 int *right,
2233 int *top,
2234 int *bottom,
2235 int *left_start_y,
2236 int *left_end_y,
2237 int *right_start_y,
2238 int *right_end_y,
2239 int *top_start_x,
2240 int *top_end_x,
2241 int *bottom_start_x,
2242 int *bottom_end_x);
2243
2244EAPI void
2245ecore_x_netwm_icons_set(Ecore_X_Window win,
2246 Ecore_X_Icon *icon,
2247 int num);
2248
2249EAPI Eina_Bool
2250ecore_x_netwm_icons_get(Ecore_X_Window win,
2251 Ecore_X_Icon **icon,
2252 int *num);
2253EAPI void
2254ecore_x_netwm_icon_geometry_set(Ecore_X_Window win,
2255 int x,
2256 int y,
2257 int width,
2258 int height);
2259EAPI Eina_Bool
2260ecore_x_netwm_icon_geometry_get(Ecore_X_Window win,
2261 int *x,
2262 int *y,
2263 int *width,
2264 int *height);
2265EAPI void
2266ecore_x_netwm_pid_set(Ecore_X_Window win,
2267 int pid);
2268EAPI Eina_Bool
2269ecore_x_netwm_pid_get(Ecore_X_Window win,
2270 int *pid);
2271EAPI void
2272 ecore_x_netwm_handled_icons_set(Ecore_X_Window win);
2273EAPI Eina_Bool
2274 ecore_x_netwm_handled_icons_get(Ecore_X_Window win);
2275EAPI void
2276 ecore_x_netwm_user_time_set(Ecore_X_Window win,
2277 unsigned int time);
2278EAPI Eina_Bool
2279ecore_x_netwm_user_time_get(Ecore_X_Window win,
2280 unsigned int *time);
2281EAPI void
2282ecore_x_netwm_window_state_set(Ecore_X_Window win,
2283 Ecore_X_Window_State *state,
2284 unsigned int num);
2285EAPI Eina_Bool
2286ecore_x_netwm_window_state_get(Ecore_X_Window win,
2287 Ecore_X_Window_State **state,
2288 unsigned int *num);
2289EAPI void
2290ecore_x_netwm_window_type_set(Ecore_X_Window win,
2291 Ecore_X_Window_Type type);
2292EAPI Eina_Bool
2293ecore_x_netwm_window_type_get(Ecore_X_Window win,
2294 Ecore_X_Window_Type *type);
2295EAPI int
2296ecore_x_netwm_window_types_get(Ecore_X_Window win,
2297 Ecore_X_Window_Type **types);
2298EAPI Eina_Bool
2299ecore_x_netwm_allowed_action_isset(Ecore_X_Window win,
2300 Ecore_X_Action action);
2301EAPI void
2302ecore_x_netwm_allowed_action_set(Ecore_X_Window win,
2303 Ecore_X_Action *action,
2304 unsigned int num);
2305EAPI Eina_Bool
2306ecore_x_netwm_allowed_action_get(Ecore_X_Window win,
2307 Ecore_X_Action **action,
2308 unsigned int *num);
2309EAPI void
2310ecore_x_netwm_opacity_set(Ecore_X_Window win,
2311 unsigned int opacity);
2312EAPI Eina_Bool
2313ecore_x_netwm_opacity_get(Ecore_X_Window win,
2314 unsigned int *opacity);
2315EAPI void
2316ecore_x_netwm_frame_size_set(Ecore_X_Window win,
2317 int fl,
2318 int fr,
2319 int ft,
2320 int fb);
2321EAPI Eina_Bool
2322ecore_x_netwm_frame_size_get(Ecore_X_Window win,
2323 int *fl,
2324 int *fr,
2325 int *ft,
2326 int *fb);
2327EAPI Eina_Bool
2328ecore_x_netwm_sync_counter_get(Ecore_X_Window win,
2329 Ecore_X_Sync_Counter *counter);
2330EAPI void
2331 ecore_x_netwm_ping_send(Ecore_X_Window win);
2332EAPI void
2333 ecore_x_netwm_sync_request_send(Ecore_X_Window win,
2334 unsigned int serial);
2335EAPI void
2336ecore_x_netwm_state_request_send(Ecore_X_Window win,
2337 Ecore_X_Window root,
2338 Ecore_X_Window_State s1,
2339 Ecore_X_Window_State s2,
2340 Eina_Bool set);
2341EAPI void
2342ecore_x_netwm_desktop_request_send(Ecore_X_Window win,
2343 Ecore_X_Window root,
2344 unsigned int desktop);
2345
2346EAPI void
2347 ecore_x_e_init(void);
2348EAPI void
2349 ecore_x_e_frame_size_set(Ecore_X_Window win,
2350 int fl,
2351 int fr,
2352 int ft,
2353 int fb);
2354EAPI void
2355ecore_x_e_virtual_keyboard_set(Ecore_X_Window win,
2356 unsigned int is_keyboard);
2357EAPI Eina_Bool
2358 ecore_x_e_virtual_keyboard_get(Ecore_X_Window win);
2359EAPI void
2360 ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win,
2361 Ecore_X_Virtual_Keyboard_State state);
2362EAPI Ecore_X_Virtual_Keyboard_State
2363 ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win);
2364EAPI void
2365 ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win,
2366 Ecore_X_Virtual_Keyboard_State state);
2367 1522
2368/* Illume functions */ 1523/* Illume functions */
2369EAPI void 1524EAPI void ecore_x_e_illume_zone_set(Ecore_X_Window win, Ecore_X_Window zone);
2370ecore_x_e_illume_zone_set(Ecore_X_Window win, 1525EAPI Ecore_X_Window ecore_x_e_illume_zone_get(Ecore_X_Window win);
2371 Ecore_X_Window zone); 1526EAPI void ecore_x_e_illume_zone_list_set(Ecore_X_Window win, Ecore_X_Window *zones, unsigned int n_zones);
2372EAPI Ecore_X_Window 1527EAPI void ecore_x_e_illume_conformant_set(Ecore_X_Window win, unsigned int is_conformant);
2373 ecore_x_e_illume_zone_get(Ecore_X_Window win); 1528EAPI Eina_Bool ecore_x_e_illume_conformant_get(Ecore_X_Window win);
2374EAPI void 1529EAPI void ecore_x_e_illume_mode_set(Ecore_X_Window win, Ecore_X_Illume_Mode mode);
2375 ecore_x_e_illume_zone_list_set(Ecore_X_Window win, 1530EAPI Ecore_X_Illume_Mode ecore_x_e_illume_mode_get(Ecore_X_Window win);
2376 Ecore_X_Window *zones, 1531EAPI void ecore_x_e_illume_mode_send(Ecore_X_Window win, Ecore_X_Illume_Mode mode);
2377 unsigned int n_zones); 1532EAPI void ecore_x_e_illume_focus_back_send(Ecore_X_Window win);
2378EAPI void 1533EAPI void ecore_x_e_illume_focus_forward_send(Ecore_X_Window win);
2379ecore_x_e_illume_conformant_set(Ecore_X_Window win, 1534EAPI void ecore_x_e_illume_focus_home_send(Ecore_X_Window win);
2380 unsigned int is_conformant); 1535EAPI void ecore_x_e_illume_close_send(Ecore_X_Window win);
2381EAPI Eina_Bool 1536EAPI void ecore_x_e_illume_home_new_send(Ecore_X_Window win);
2382 ecore_x_e_illume_conformant_get(Ecore_X_Window win); 1537EAPI void ecore_x_e_illume_home_del_send(Ecore_X_Window win);
2383EAPI void 1538EAPI void ecore_x_e_illume_access_action_next_send(Ecore_X_Window win);
2384 ecore_x_e_illume_mode_set(Ecore_X_Window win, 1539EAPI void ecore_x_e_illume_access_action_prev_send(Ecore_X_Window win);
2385 Ecore_X_Illume_Mode mode); 1540EAPI void ecore_x_e_illume_access_action_activate_send(Ecore_X_Window win);
2386EAPI Ecore_X_Illume_Mode 1541EAPI void ecore_x_e_illume_access_action_read_send(Ecore_X_Window win);
2387 ecore_x_e_illume_mode_get(Ecore_X_Window win); 1542EAPI void ecore_x_e_illume_access_action_read_next_send(Ecore_X_Window win);
2388EAPI void 1543EAPI void ecore_x_e_illume_access_action_read_prev_send(Ecore_X_Window win);
2389 ecore_x_e_illume_mode_send(Ecore_X_Window win, 1544
2390 Ecore_X_Illume_Mode mode); 1545EAPI void ecore_x_e_illume_drag_set(Ecore_X_Window win, unsigned int drag);
2391EAPI void 1546EAPI Eina_Bool ecore_x_e_illume_drag_get(Ecore_X_Window win);
2392 ecore_x_e_illume_focus_back_send(Ecore_X_Window win); 1547EAPI void ecore_x_e_illume_drag_locked_set(Ecore_X_Window win, unsigned int is_locked);
2393EAPI void 1548EAPI Eina_Bool ecore_x_e_illume_drag_locked_get(Ecore_X_Window win);
2394 ecore_x_e_illume_focus_forward_send(Ecore_X_Window win); 1549EAPI void ecore_x_e_illume_drag_start_send(Ecore_X_Window win);
2395EAPI void 1550EAPI void ecore_x_e_illume_drag_end_send(Ecore_X_Window win);
2396 ecore_x_e_illume_focus_home_send(Ecore_X_Window win); 1551EAPI void ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, int x, int y, int w, int h);
2397EAPI void 1552EAPI Eina_Bool ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
2398 ecore_x_e_illume_close_send(Ecore_X_Window win); 1553EAPI void ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, int x, int y, int w, int h);
2399EAPI void 1554EAPI Eina_Bool ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
2400 ecore_x_e_illume_home_new_send(Ecore_X_Window win); 1555EAPI void ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, int x, int y, int w, int h);
2401EAPI void 1556EAPI Eina_Bool ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
2402 ecore_x_e_illume_home_del_send(Ecore_X_Window win); 1557EAPI void ecore_x_e_illume_quickpanel_set(Ecore_X_Window win, unsigned int is_quickpanel);
2403EAPI void 1558EAPI Eina_Bool ecore_x_e_illume_quickpanel_get(Ecore_X_Window win);
2404 ecore_x_e_illume_access_action_next_send(Ecore_X_Window win); 1559EAPI void ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win, Ecore_X_Illume_Quickpanel_State state);
2405EAPI void 1560EAPI Ecore_X_Illume_Quickpanel_State ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win);
2406 ecore_x_e_illume_access_action_prev_send(Ecore_X_Window win); 1561EAPI void ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win, Ecore_X_Illume_Quickpanel_State state);
2407EAPI void 1562EAPI void ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win);
2408 ecore_x_e_illume_access_action_activate_send(Ecore_X_Window win); 1563EAPI void ecore_x_e_illume_quickpanel_priority_major_set(Ecore_X_Window win, unsigned int priority);
2409EAPI void 1564EAPI int ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win);
2410 ecore_x_e_illume_access_action_read_send(Ecore_X_Window win); 1565EAPI void ecore_x_e_illume_quickpanel_priority_minor_set(Ecore_X_Window win, unsigned int priority);
2411EAPI void 1566EAPI int ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win);
2412 ecore_x_e_illume_access_action_read_next_send(Ecore_X_Window win); 1567EAPI void ecore_x_e_illume_quickpanel_zone_set(Ecore_X_Window win, unsigned int zone);
2413EAPI void 1568EAPI int ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win);
2414 ecore_x_e_illume_access_action_read_prev_send(Ecore_X_Window win); 1569EAPI void ecore_x_e_illume_quickpanel_zone_request_send(Ecore_X_Window win);
2415 1570EAPI void ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win);
2416EAPI void 1571
2417 ecore_x_e_illume_drag_set(Ecore_X_Window win, 1572EAPI void ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win, Ecore_X_Illume_Clipboard_State state);
2418 unsigned int drag); 1573
2419EAPI Eina_Bool 1574EAPI Ecore_X_Illume_Clipboard_State ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win);
2420 ecore_x_e_illume_drag_get(Ecore_X_Window win); 1575
2421EAPI void 1576EAPI void ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win, int x, int y, int w, int h);
2422 ecore_x_e_illume_drag_locked_set(Ecore_X_Window win, 1577EAPI Eina_Bool ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win, int *x, int *y, int *w, int *h);
2423 unsigned int is_locked); 1578EAPI void ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, Ecore_X_Sync_Counter counter);
2424EAPI Eina_Bool 1579EAPI Ecore_X_Sync_Counter ecore_x_e_comp_sync_counter_get(Ecore_X_Window win);
2425 ecore_x_e_illume_drag_locked_get(Ecore_X_Window win); 1580EAPI void ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, Ecore_X_Window win);
2426EAPI void 1581EAPI void ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root, Ecore_X_Window win, int w, int h);
2427 ecore_x_e_illume_drag_start_send(Ecore_X_Window win); 1582EAPI void ecore_x_e_comp_sync_supported_set(Ecore_X_Window root, Eina_Bool enabled);
2428EAPI void 1583EAPI Eina_Bool ecore_x_e_comp_sync_supported_get(Ecore_X_Window root);
2429 ecore_x_e_illume_drag_end_send(Ecore_X_Window win); 1584EAPI void ecore_x_e_comp_sync_begin_send(Ecore_X_Window win);
2430EAPI void 1585EAPI void ecore_x_e_comp_sync_end_send(Ecore_X_Window win);
2431 ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, 1586EAPI void ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win);
2432 int x, 1587
2433 int y, 1588EAPI void ecore_x_e_comp_flush_send(Ecore_X_Window win);
2434 int w, 1589EAPI void ecore_x_e_comp_dump_send(Ecore_X_Window win);
2435 int h); 1590EAPI void ecore_x_e_comp_pixmap_set(Ecore_X_Window win, Ecore_X_Pixmap pixmap);
2436EAPI Eina_Bool 1591EAPI Ecore_X_Pixmap ecore_x_e_comp_pixmap_get(Ecore_X_Window win);
2437ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, 1592
2438 int *x, 1593EAPI Ecore_X_Sync_Alarm ecore_x_sync_alarm_new(Ecore_X_Sync_Counter counter);
2439 int *y, 1594EAPI Eina_Bool ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm);
2440 int *w, 1595EAPI Eina_Bool ecore_x_sync_counter_query(Ecore_X_Sync_Counter counter, unsigned int *val);
2441 int *h); 1596EAPI Ecore_X_Sync_Counter ecore_x_sync_counter_new(int val);
2442EAPI void 1597EAPI void ecore_x_sync_counter_free(Ecore_X_Sync_Counter counter);
2443ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, 1598EAPI void ecore_x_sync_counter_inc(Ecore_X_Sync_Counter counter, int by);
2444 int x, 1599EAPI void ecore_x_sync_counter_val_wait(Ecore_X_Sync_Counter counter, int val);
2445 int y, 1600
2446 int w, 1601EAPI void ecore_x_sync_counter_set(Ecore_X_Sync_Counter counter, int val);
2447 int h); 1602EAPI void ecore_x_sync_counter_2_set(Ecore_X_Sync_Counter counter, int val_hi, unsigned int val_lo);
2448EAPI Eina_Bool 1603EAPI Eina_Bool ecore_x_sync_counter_2_query(Ecore_X_Sync_Counter counter, int *val_hi, unsigned int *val_lo);
2449ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, 1604
2450 int *x, 1605EAPI int ecore_x_xinerama_screen_count_get(void);
2451 int *y, 1606EAPI Eina_Bool ecore_x_xinerama_screen_geometry_get(int screen, int *x, int *y, int *w, int *h);
2452 int *w, 1607
2453 int *h); 1608EAPI Eina_Bool ecore_x_screensaver_event_available_get(void);
2454EAPI void 1609EAPI int ecore_x_screensaver_idle_time_get(void);
2455ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, 1610EAPI void ecore_x_screensaver_set(int timeout, int interval, int prefer_blanking, int allow_exposures);
2456 int x, 1611EAPI void ecore_x_screensaver_timeout_set(int timeout);
2457 int y, 1612EAPI int ecore_x_screensaver_timeout_get(void);
2458 int w, 1613EAPI void ecore_x_screensaver_blank_set(int timeout);
2459 int h); 1614EAPI int ecore_x_screensaver_blank_get(void);
2460EAPI Eina_Bool 1615EAPI void ecore_x_screensaver_expose_set(int timeout);
2461ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, 1616EAPI int ecore_x_screensaver_expose_get(void);
2462 int *x, 1617EAPI void ecore_x_screensaver_interval_set(int timeout);
2463 int *y, 1618EAPI int ecore_x_screensaver_interval_get(void);
2464 int *w, 1619EAPI void ecore_x_screensaver_event_listen_set(Eina_Bool on);
2465 int *h);
2466EAPI void
2467ecore_x_e_illume_quickpanel_set(Ecore_X_Window win,
2468 unsigned int is_quickpanel);
2469EAPI Eina_Bool
2470 ecore_x_e_illume_quickpanel_get(Ecore_X_Window win);
2471EAPI void
2472 ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win,
2473 Ecore_X_Illume_Quickpanel_State state);
2474EAPI Ecore_X_Illume_Quickpanel_State
2475 ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win);
2476EAPI void
2477 ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win,
2478 Ecore_X_Illume_Quickpanel_State state);
2479EAPI void
2480 ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win);
2481EAPI void
2482 ecore_x_e_illume_quickpanel_priority_major_set(Ecore_X_Window win,
2483 unsigned int priority);
2484EAPI int
2485 ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win);
2486EAPI void
2487 ecore_x_e_illume_quickpanel_priority_minor_set(Ecore_X_Window win,
2488 unsigned int priority);
2489EAPI int
2490 ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win);
2491EAPI void
2492 ecore_x_e_illume_quickpanel_zone_set(Ecore_X_Window win,
2493 unsigned int zone);
2494EAPI int
2495 ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win);
2496EAPI void
2497 ecore_x_e_illume_quickpanel_zone_request_send(Ecore_X_Window win);
2498EAPI void
2499 ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win);
2500
2501EAPI void
2502ecore_x_e_illume_clipboard_state_set(Ecore_X_Window win,
2503 Ecore_X_Illume_Clipboard_State state);
2504
2505EAPI Ecore_X_Illume_Clipboard_State
2506ecore_x_e_illume_clipboard_state_get(Ecore_X_Window win);
2507
2508EAPI void
2509ecore_x_e_illume_clipboard_geometry_set(Ecore_X_Window win,
2510 int x,
2511 int y,
2512 int w,
2513 int h);
2514EAPI Eina_Bool
2515ecore_x_e_illume_clipboard_geometry_get(Ecore_X_Window win,
2516 int *x,
2517 int *y,
2518 int *w,
2519 int *h);
2520EAPI void
2521ecore_x_e_comp_sync_counter_set(Ecore_X_Window win,
2522 Ecore_X_Sync_Counter counter);
2523EAPI Ecore_X_Sync_Counter
2524 ecore_x_e_comp_sync_counter_get(Ecore_X_Window win);
2525EAPI void
2526 ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root,
2527 Ecore_X_Window win);
2528EAPI void
2529ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root,
2530 Ecore_X_Window win,
2531 int w,
2532 int h);
2533EAPI void
2534ecore_x_e_comp_sync_supported_set(Ecore_X_Window root,
2535 Eina_Bool enabled);
2536EAPI Eina_Bool
2537 ecore_x_e_comp_sync_supported_get(Ecore_X_Window root);
2538EAPI void
2539 ecore_x_e_comp_sync_begin_send(Ecore_X_Window win);
2540EAPI void
2541 ecore_x_e_comp_sync_end_send(Ecore_X_Window win);
2542EAPI void
2543 ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win);
2544
2545EAPI void
2546 ecore_x_e_comp_flush_send(Ecore_X_Window win);
2547EAPI void
2548 ecore_x_e_comp_dump_send(Ecore_X_Window win);
2549EAPI void
2550 ecore_x_e_comp_pixmap_set(Ecore_X_Window win,
2551 Ecore_X_Pixmap pixmap);
2552EAPI Ecore_X_Pixmap
2553ecore_x_e_comp_pixmap_get(Ecore_X_Window win);
2554
2555EAPI Ecore_X_Sync_Alarm
2556 ecore_x_sync_alarm_new(Ecore_X_Sync_Counter counter);
2557EAPI Eina_Bool
2558 ecore_x_sync_alarm_free(Ecore_X_Sync_Alarm alarm);
2559EAPI Eina_Bool
2560 ecore_x_sync_counter_query(Ecore_X_Sync_Counter counter,
2561 unsigned int *val);
2562EAPI Ecore_X_Sync_Counter
2563 ecore_x_sync_counter_new(int val);
2564EAPI void
2565 ecore_x_sync_counter_free(Ecore_X_Sync_Counter counter);
2566EAPI void
2567 ecore_x_sync_counter_inc(Ecore_X_Sync_Counter counter,
2568 int by);
2569EAPI void
2570ecore_x_sync_counter_val_wait(Ecore_X_Sync_Counter counter,
2571 int val);
2572
2573EAPI void
2574ecore_x_sync_counter_set(Ecore_X_Sync_Counter counter,
2575 int val);
2576EAPI void
2577ecore_x_sync_counter_2_set(Ecore_X_Sync_Counter counter,
2578 int val_hi,
2579 unsigned int val_lo);
2580EAPI Eina_Bool
2581ecore_x_sync_counter_2_query(Ecore_X_Sync_Counter counter,
2582 int *val_hi,
2583 unsigned int *val_lo);
2584
2585EAPI int
2586 ecore_x_xinerama_screen_count_get(void);
2587EAPI Eina_Bool
2588 ecore_x_xinerama_screen_geometry_get(int screen,
2589 int *x,
2590 int *y,
2591 int *w,
2592 int *h);
2593
2594EAPI Eina_Bool
2595 ecore_x_screensaver_event_available_get(void);
2596EAPI int
2597 ecore_x_screensaver_idle_time_get(void);
2598EAPI void
2599 ecore_x_screensaver_set(int timeout,
2600 int interval,
2601 int prefer_blanking,
2602 int allow_exposures);
2603EAPI void
2604 ecore_x_screensaver_timeout_set(int timeout);
2605EAPI int
2606 ecore_x_screensaver_timeout_get(void);
2607EAPI void
2608 ecore_x_screensaver_blank_set(int timeout);
2609EAPI int
2610 ecore_x_screensaver_blank_get(void);
2611EAPI void
2612 ecore_x_screensaver_expose_set(int timeout);
2613EAPI int
2614 ecore_x_screensaver_expose_get(void);
2615EAPI void
2616 ecore_x_screensaver_interval_set(int timeout);
2617EAPI int
2618 ecore_x_screensaver_interval_get(void);
2619EAPI void
2620 ecore_x_screensaver_event_listen_set(Eina_Bool on);
2621 1620
2622/* FIXME: these funcs need categorising */ 1621/* FIXME: these funcs need categorising */
2623 1622
@@ -2648,128 +1647,47 @@ typedef struct _Ecore_X_Window_Attributes
2648 */ 1647 */
2649} Ecore_X_Window_Attributes; 1648} Ecore_X_Window_Attributes;
2650 1649
2651EAPI Eina_Bool 1650EAPI Eina_Bool ecore_x_window_attributes_get(Ecore_X_Window win, Ecore_X_Window_Attributes *att_ret);
2652ecore_x_window_attributes_get(Ecore_X_Window win, 1651EAPI void ecore_x_window_save_set_add(Ecore_X_Window win);
2653 Ecore_X_Window_Attributes *att_ret); 1652EAPI void ecore_x_window_save_set_del(Ecore_X_Window win);
2654EAPI void 1653EAPI Ecore_X_Window *ecore_x_window_children_get(Ecore_X_Window win, int *num);
2655 ecore_x_window_save_set_add(Ecore_X_Window win); 1654
2656EAPI void 1655EAPI Eina_Bool ecore_x_pointer_control_set(int accel_num, int accel_denom, int threshold);
2657 ecore_x_window_save_set_del(Ecore_X_Window win); 1656EAPI Eina_Bool ecore_x_pointer_control_get(int *accel_num, int *accel_denom, int *threshold);
2658EAPI Ecore_X_Window * 1657EAPI Eina_Bool ecore_x_pointer_mapping_set(unsigned char *map, int nmap);
2659 ecore_x_window_children_get(Ecore_X_Window win, 1658EAPI Eina_Bool ecore_x_pointer_mapping_get(unsigned char *map, int nmap);
2660 int *num); 1659EAPI Eina_Bool ecore_x_pointer_grab(Ecore_X_Window win);
2661 1660EAPI Eina_Bool ecore_x_pointer_confine_grab(Ecore_X_Window win);
2662EAPI Eina_Bool 1661EAPI void ecore_x_pointer_ungrab(void);
2663ecore_x_pointer_control_set(int accel_num, 1662EAPI Eina_Bool ecore_x_pointer_warp(Ecore_X_Window win, int x, int y);
2664 int accel_denom, 1663EAPI Eina_Bool ecore_x_keyboard_grab(Ecore_X_Window win);
2665 int threshold); 1664EAPI void ecore_x_keyboard_ungrab(void);
2666EAPI Eina_Bool 1665EAPI void ecore_x_grab(void);
2667ecore_x_pointer_control_get(int *accel_num, 1666EAPI void ecore_x_ungrab(void);
2668 int *accel_denom, 1667EAPI void ecore_x_passive_grab_replay_func_set(Eina_Bool (*func)(void *data, int event_type, void *event), void *data);
2669 int *threshold); 1668EAPI void ecore_x_window_button_grab(Ecore_X_Window win, int button, Ecore_X_Event_Mask event_mask, int mod, int any_mod);
2670EAPI Eina_Bool 1669EAPI void ecore_x_window_button_ungrab(Ecore_X_Window win, int button, int mod, int any_mod);
2671ecore_x_pointer_mapping_set(unsigned char *map, 1670EAPI void ecore_x_window_key_grab(Ecore_X_Window win, const char *key, int mod, int any_mod);
2672 int nmap); 1671EAPI void ecore_x_window_key_ungrab(Ecore_X_Window win, const char *key, int mod, int any_mod);
2673EAPI Eina_Bool 1672
2674ecore_x_pointer_mapping_get(unsigned char *map, 1673EAPI void ecore_x_focus_reset(void);
2675 int nmap); 1674EAPI void ecore_x_events_allow_all(void);
2676EAPI Eina_Bool 1675EAPI void ecore_x_pointer_last_xy_get(int *x, int *y);
2677 ecore_x_pointer_grab(Ecore_X_Window win); 1676EAPI void ecore_x_pointer_xy_get(Ecore_X_Window win, int *x, int *y);
2678EAPI Eina_Bool
2679 ecore_x_pointer_confine_grab(Ecore_X_Window win);
2680EAPI void
2681 ecore_x_pointer_ungrab(void);
2682EAPI Eina_Bool
2683 ecore_x_pointer_warp(Ecore_X_Window win,
2684 int x,
2685 int y);
2686EAPI Eina_Bool
2687 ecore_x_keyboard_grab(Ecore_X_Window win);
2688EAPI void
2689 ecore_x_keyboard_ungrab(void);
2690EAPI void
2691 ecore_x_grab(void);
2692EAPI void
2693 ecore_x_ungrab(void);
2694EAPI void
2695 ecore_x_passive_grab_replay_func_set(Eina_Bool (*func)(void *data,
2696 int event_type,
2697 void *event),
2698 void *data);
2699EAPI void
2700ecore_x_window_button_grab(Ecore_X_Window win,
2701 int button,
2702 Ecore_X_Event_Mask event_mask,
2703 int mod,
2704 int any_mod);
2705EAPI void
2706ecore_x_window_button_ungrab(Ecore_X_Window win,
2707 int button,
2708 int mod,
2709 int any_mod);
2710EAPI void
2711ecore_x_window_key_grab(Ecore_X_Window win,
2712 const char *key,
2713 int mod,
2714 int any_mod);
2715EAPI void
2716ecore_x_window_key_ungrab(Ecore_X_Window win,
2717 const char *key,
2718 int mod,
2719 int any_mod);
2720
2721EAPI void
2722 ecore_x_focus_reset(void);
2723EAPI void
2724 ecore_x_events_allow_all(void);
2725EAPI void
2726 ecore_x_pointer_last_xy_get(int *x,
2727 int *y);
2728EAPI void
2729ecore_x_pointer_xy_get(Ecore_X_Window win,
2730 int *x,
2731 int *y);
2732 1677
2733/* ecore_x_region.c */ 1678/* ecore_x_region.c */
2734EAPI Ecore_X_XRegion * 1679EAPI Ecore_X_XRegion *ecore_x_xregion_new(void);
2735 ecore_x_xregion_new(void); 1680EAPI void ecore_x_xregion_free(Ecore_X_XRegion *region);
2736EAPI void 1681EAPI Eina_Bool ecore_x_xregion_set(Ecore_X_XRegion *region, Ecore_X_GC gc);
2737 ecore_x_xregion_free(Ecore_X_XRegion *region); 1682EAPI void ecore_x_xregion_translate(Ecore_X_XRegion *region, int x, int y);
2738EAPI Eina_Bool 1683EAPI Eina_Bool ecore_x_xregion_intersect(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2);
2739 ecore_x_xregion_set(Ecore_X_XRegion *region, 1684EAPI Eina_Bool ecore_x_xregion_union(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2);
2740 Ecore_X_GC gc); 1685EAPI Eina_Bool ecore_x_xregion_union_rect(Ecore_X_XRegion *dst, Ecore_X_XRegion *src, Ecore_X_Rectangle *rect);
2741EAPI void 1686EAPI Eina_Bool ecore_x_xregion_subtract(Ecore_X_XRegion *dst, Ecore_X_XRegion *r1, Ecore_X_XRegion *r2);
2742ecore_x_xregion_translate(Ecore_X_XRegion *region, 1687EAPI Eina_Bool ecore_x_xregion_is_empty(Ecore_X_XRegion *region);
2743 int x, 1688EAPI Eina_Bool ecore_x_xregion_is_equal(Ecore_X_XRegion *r1, Ecore_X_XRegion *r2);
2744 int y); 1689EAPI Eina_Bool ecore_x_xregion_point_contain(Ecore_X_XRegion *region, int x, int y);
2745EAPI Eina_Bool 1690EAPI Eina_Bool ecore_x_xregion_rect_contain(Ecore_X_XRegion *region, Ecore_X_Rectangle *rect);
2746ecore_x_xregion_intersect(Ecore_X_XRegion *dst,
2747 Ecore_X_XRegion *r1,
2748 Ecore_X_XRegion *r2);
2749EAPI Eina_Bool
2750ecore_x_xregion_union(Ecore_X_XRegion *dst,
2751 Ecore_X_XRegion *r1,
2752 Ecore_X_XRegion *r2);
2753EAPI Eina_Bool
2754ecore_x_xregion_union_rect(Ecore_X_XRegion *dst,
2755 Ecore_X_XRegion *src,
2756 Ecore_X_Rectangle *rect);
2757EAPI Eina_Bool
2758ecore_x_xregion_subtract(Ecore_X_XRegion *dst,
2759 Ecore_X_XRegion *r1,
2760 Ecore_X_XRegion *r2);
2761EAPI Eina_Bool
2762 ecore_x_xregion_is_empty(Ecore_X_XRegion *region);
2763EAPI Eina_Bool
2764 ecore_x_xregion_is_equal(Ecore_X_XRegion *r1,
2765 Ecore_X_XRegion *r2);
2766EAPI Eina_Bool
2767ecore_x_xregion_point_contain(Ecore_X_XRegion *region,
2768 int x,
2769 int y);
2770EAPI Eina_Bool
2771ecore_x_xregion_rect_contain(Ecore_X_XRegion *region,
2772 Ecore_X_Rectangle *rect);
2773 1691
2774/* ecore_x_randr.c */ 1692/* ecore_x_randr.c */
2775 1693
@@ -2803,22 +1721,14 @@ typedef struct _Ecore_X_Randr_Mode_Info
2803 unsigned long modeFlags; 1721 unsigned long modeFlags;
2804} Ecore_X_Randr_Mode_Info; 1722} Ecore_X_Randr_Mode_Info;
2805 1723
2806EAPI int 1724EAPI int ecore_x_randr_version_get(void);
2807 ecore_x_randr_version_get(void); 1725EAPI Eina_Bool ecore_x_randr_query(void);
2808EAPI Eina_Bool
2809 ecore_x_randr_query(void);
2810 1726
2811/* ecore_x_randr_11.c */ 1727/* ecore_x_randr_11.c */
2812EAPI Ecore_X_Randr_Orientation 1728EAPI Ecore_X_Randr_Orientation ecore_x_randr_screen_primary_output_orientations_get(Ecore_X_Window root);
2813 ecore_x_randr_screen_primary_output_orientations_get(Ecore_X_Window root); 1729EAPI Ecore_X_Randr_Orientation ecore_x_randr_screen_primary_output_orientation_get(Ecore_X_Window root);
2814EAPI Ecore_X_Randr_Orientation 1730EAPI Eina_Bool ecore_x_randr_screen_primary_output_orientation_set(Ecore_X_Window root, Ecore_X_Randr_Orientation orientation);
2815 ecore_x_randr_screen_primary_output_orientation_get(Ecore_X_Window root); 1731EAPI Ecore_X_Randr_Screen_Size_MM *ecore_x_randr_screen_primary_output_sizes_get(Ecore_X_Window root, int *num);
2816EAPI Eina_Bool
2817 ecore_x_randr_screen_primary_output_orientation_set(Ecore_X_Window root,
2818 Ecore_X_Randr_Orientation orientation);
2819EAPI Ecore_X_Randr_Screen_Size_MM *
2820ecore_x_randr_screen_primary_output_sizes_get(Ecore_X_Window root,
2821 int *num);
2822 1732
2823/** 1733/**
2824 * @brief get the current set size of a given screen's primary output 1734 * @brief get the current set size of a given screen's primary output
@@ -2829,242 +1739,83 @@ ecore_x_randr_screen_primary_output_sizes_get(Ecore_X_Window root,
2829 * @param h_mm the current size's height in mm 1739 * @param h_mm the current size's height in mm
2830 * @param size_index of current set size to be used with ecore_x_randr_primary_output_size_set() 1740 * @param size_index of current set size to be used with ecore_x_randr_primary_output_size_set()
2831 */ 1741 */
2832EAPI void 1742EAPI void ecore_x_randr_screen_primary_output_current_size_get(Ecore_X_Window root, int *w, int *h, int *w_mm, int *h_mm, int *size_index);
2833ecore_x_randr_screen_primary_output_current_size_get(Ecore_X_Window root, 1743EAPI Eina_Bool ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root, int size_index);
2834 int *w, 1744EAPI Ecore_X_Randr_Refresh_Rate ecore_x_randr_screen_primary_output_current_refresh_rate_get(Ecore_X_Window root);
2835 int *h, 1745EAPI Ecore_X_Randr_Refresh_Rate *ecore_x_randr_screen_primary_output_refresh_rates_get(Ecore_X_Window root, int size_index, int *num);
2836 int *w_mm, 1746EAPI Eina_Bool ecore_x_randr_screen_primary_output_refresh_rate_set(Ecore_X_Window root, int size_index, Ecore_X_Randr_Refresh_Rate rate);
2837 int *h_mm,
2838 int *size_index);
2839EAPI Eina_Bool
2840ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root,
2841 int size_index);
2842EAPI Ecore_X_Randr_Refresh_Rate
2843 ecore_x_randr_screen_primary_output_current_refresh_rate_get(Ecore_X_Window root);
2844EAPI Ecore_X_Randr_Refresh_Rate *
2845 ecore_x_randr_screen_primary_output_refresh_rates_get(Ecore_X_Window root,
2846 int size_index,
2847 int *num);
2848EAPI Eina_Bool
2849ecore_x_randr_screen_primary_output_refresh_rate_set(Ecore_X_Window root,
2850 int size_index,
2851 Ecore_X_Randr_Refresh_Rate rate);
2852 1747
2853/* ecore_x_randr_12.c */ 1748/* ecore_x_randr_12.c */
2854EAPI void 1749EAPI void ecore_x_randr_events_select(Ecore_X_Window win, Eina_Bool on);
2855ecore_x_randr_events_select(Ecore_X_Window win, 1750
2856 Eina_Bool on); 1751EAPI void ecore_x_randr_screen_current_size_get(Ecore_X_Window root, int *w, int *h, int *w_mm, int *h_mm);
2857 1752EAPI void ecore_x_randr_screen_size_range_get(Ecore_X_Window root, int *wmin, int *hmin, int *wmax, int *hmax);
2858EAPI void 1753EAPI void ecore_x_randr_screen_reset(Ecore_X_Window root);
2859ecore_x_randr_screen_current_size_get(Ecore_X_Window root, 1754EAPI Eina_Bool ecore_x_randr_screen_current_size_set(Ecore_X_Window root, int w, int h, int w_mm, int h_mm);
2860 int *w, 1755EAPI Ecore_X_Randr_Mode_Info **ecore_x_randr_modes_info_get(Ecore_X_Window root, int *num);
2861 int *h, 1756EAPI Ecore_X_Randr_Mode ecore_x_randr_mode_info_add(Ecore_X_Window root, Ecore_X_Randr_Mode_Info *mode_info);
2862 int *w_mm, 1757EAPI void ecore_x_randr_mode_del(Ecore_X_Randr_Mode mode);
2863 int *h_mm); 1758EAPI Ecore_X_Randr_Mode_Info *ecore_x_randr_mode_info_get(Ecore_X_Window root, Ecore_X_Randr_Mode mode);
2864EAPI void 1759EAPI void ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info);
2865ecore_x_randr_screen_size_range_get(Ecore_X_Window root, 1760EAPI Ecore_X_Randr_Crtc *ecore_x_randr_crtcs_get(Ecore_X_Window root, int *num);
2866 int *wmin, 1761EAPI Ecore_X_Randr_Output *ecore_x_randr_outputs_get(Ecore_X_Window root, int *num);
2867 int *hmin, 1762EAPI Ecore_X_Randr_Output *ecore_x_randr_window_outputs_get(Ecore_X_Window window, int *num);
2868 int *wmax, 1763EAPI Ecore_X_Randr_Output *ecore_x_randr_current_output_get(Ecore_X_Window window, int *num);
2869 int *hmax); 1764EAPI Ecore_X_Randr_Crtc *ecore_x_randr_window_crtcs_get(Ecore_X_Window window, int *num);
2870EAPI void 1765EAPI Ecore_X_Randr_Crtc *ecore_x_randr_current_crtc_get(Ecore_X_Window window, int *num);
2871 ecore_x_randr_screen_reset(Ecore_X_Window root); 1766EAPI Ecore_X_Randr_Output *ecore_x_randr_crtc_outputs_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *num);
2872EAPI Eina_Bool 1767EAPI Ecore_X_Randr_Output *ecore_x_randr_crtc_possible_outputs_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *num);
2873 ecore_x_randr_screen_current_size_set(Ecore_X_Window root, 1768EAPI void ecore_x_randr_crtc_geometry_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *x, int *y, int *w, int *h);
2874 int w, 1769EAPI void ecore_x_randr_crtc_pos_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *x, int *y);
2875 int h, 1770EAPI Eina_Bool ecore_x_randr_crtc_pos_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int x, int y);
2876 int w_mm, 1771EAPI Ecore_X_Randr_Mode ecore_x_randr_crtc_mode_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc);
2877 int h_mm); 1772EAPI Eina_Bool ecore_x_randr_crtc_mode_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, Ecore_X_Randr_Output *outputs, int noutputs, Ecore_X_Randr_Mode mode);
2878EAPI Ecore_X_Randr_Mode_Info ** 1773EAPI void ecore_x_randr_crtc_size_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *w, int *h);
2879ecore_x_randr_modes_info_get(Ecore_X_Window root, 1774EAPI Ecore_X_Randr_Refresh_Rate ecore_x_randr_crtc_refresh_rate_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, Ecore_X_Randr_Mode mode);
2880 int *num); 1775EAPI Ecore_X_Randr_Orientation ecore_x_randr_crtc_orientations_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc);
2881EAPI Ecore_X_Randr_Mode 1776EAPI Ecore_X_Randr_Orientation ecore_x_randr_crtc_orientation_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc);
2882ecore_x_randr_mode_info_add(Ecore_X_Window root, 1777EAPI Eina_Bool ecore_x_randr_crtc_orientation_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, const Ecore_X_Randr_Orientation orientation);
2883 Ecore_X_Randr_Mode_Info *mode_info); 1778EAPI Eina_Bool ecore_x_randr_crtc_clone_set(Ecore_X_Window root, Ecore_X_Randr_Crtc original, Ecore_X_Randr_Crtc clone);
2884EAPI void 1779EAPI Eina_Bool ecore_x_randr_crtc_settings_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, Ecore_X_Randr_Output *outputs, int noutputs, int x, int y, Ecore_X_Randr_Mode mode, Ecore_X_Randr_Orientation orientation);
2885ecore_x_randr_mode_del(Ecore_X_Randr_Mode mode); 1780EAPI Eina_Bool ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc_r1, Ecore_X_Randr_Crtc crtc_r2, Ecore_X_Randr_Output_Policy policy, Ecore_X_Randr_Relative_Alignment alignment);
2886EAPI Ecore_X_Randr_Mode_Info * 1781EAPI Eina_Bool ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output, Ecore_X_Randr_Mode mode);
2887ecore_x_randr_mode_info_get(Ecore_X_Window root, 1782EAPI void ecore_x_randr_output_mode_del(Ecore_X_Randr_Output output, Ecore_X_Randr_Mode mode);
2888 Ecore_X_Randr_Mode mode); 1783EAPI Ecore_X_Randr_Mode *ecore_x_randr_output_modes_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num, int *npreferred);
2889EAPI void 1784EAPI Ecore_X_Randr_Output *ecore_x_randr_output_clones_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
2890 ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info); 1785EAPI Ecore_X_Randr_Crtc *ecore_x_randr_output_possible_crtcs_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
2891EAPI Ecore_X_Randr_Crtc * 1786EAPI Ecore_X_Randr_Crtc ecore_x_randr_output_crtc_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
2892 ecore_x_randr_crtcs_get(Ecore_X_Window root, 1787EAPI char *ecore_x_randr_output_name_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *len);
2893 int *num); 1788EAPI int ecore_x_randr_crtc_gamma_ramp_size_get(Ecore_X_Randr_Crtc crtc);
2894EAPI Ecore_X_Randr_Output *ecore_x_randr_outputs_get(Ecore_X_Window root, 1789EAPI Ecore_X_Randr_Crtc_Gamma **ecore_x_randr_crtc_gamma_ramps_get(Ecore_X_Randr_Crtc crtc);
2895 int *num); 1790EAPI Eina_Bool ecore_x_randr_crtc_gamma_ramps_set(Ecore_X_Randr_Crtc crtc, const Ecore_X_Randr_Crtc_Gamma *red, const Ecore_X_Randr_Crtc_Gamma *green, const Ecore_X_Randr_Crtc_Gamma *blue);
2896EAPI Ecore_X_Randr_Output * 1791EAPI Eina_Bool ecore_x_randr_move_all_crtcs_but(Ecore_X_Window root, const Ecore_X_Randr_Crtc *not_moved, int nnot_moved, int dx, int dy);
2897ecore_x_randr_window_outputs_get(Ecore_X_Window window, 1792EAPI Eina_Bool ecore_x_randr_move_crtcs(Ecore_X_Window root, const Ecore_X_Randr_Crtc *crtcs, int ncrtc, int dx, int dy);
2898 int *num); 1793EAPI void ecore_x_randr_mode_size_get(Ecore_X_Window root, Ecore_X_Randr_Mode mode, int *w, int *h);
2899EAPI Ecore_X_Randr_Output * 1794EAPI Ecore_X_Randr_Connection_Status ecore_x_randr_output_connection_status_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
2900ecore_x_randr_current_output_get(Ecore_X_Window window, 1795EAPI void ecore_x_randr_output_size_mm_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *w, int *h);
2901 int *num); 1796EAPI Eina_Bool ecore_x_randr_output_crtc_set(Ecore_X_Window root, Ecore_X_Randr_Output output, const Ecore_X_Randr_Crtc crtc);
2902EAPI Ecore_X_Randr_Crtc *
2903ecore_x_randr_window_crtcs_get(Ecore_X_Window window,
2904 int *num);
2905EAPI Ecore_X_Randr_Crtc *
2906ecore_x_randr_current_crtc_get(Ecore_X_Window window,
2907 int *num);
2908EAPI Ecore_X_Randr_Output *
2909ecore_x_randr_crtc_outputs_get(Ecore_X_Window root,
2910 Ecore_X_Randr_Crtc crtc,
2911 int *num);
2912EAPI Ecore_X_Randr_Output *
2913ecore_x_randr_crtc_possible_outputs_get(Ecore_X_Window root,
2914 Ecore_X_Randr_Crtc crtc,
2915 int *num);
2916EAPI void
2917ecore_x_randr_crtc_geometry_get(Ecore_X_Window root,
2918 Ecore_X_Randr_Crtc crtc,
2919 int *x,
2920 int *y,
2921 int *w,
2922 int *h);
2923EAPI void
2924ecore_x_randr_crtc_pos_get(Ecore_X_Window root,
2925 Ecore_X_Randr_Crtc crtc,
2926 int *x,
2927 int *y);
2928EAPI Eina_Bool
2929ecore_x_randr_crtc_pos_set(Ecore_X_Window root,
2930 Ecore_X_Randr_Crtc crtc,
2931 int x,
2932 int y);
2933EAPI Ecore_X_Randr_Mode
2934ecore_x_randr_crtc_mode_get(Ecore_X_Window root,
2935 Ecore_X_Randr_Crtc crtc);
2936EAPI Eina_Bool
2937ecore_x_randr_crtc_mode_set(Ecore_X_Window root,
2938 Ecore_X_Randr_Crtc crtc,
2939 Ecore_X_Randr_Output *outputs,
2940 int noutputs,
2941 Ecore_X_Randr_Mode mode);
2942EAPI void
2943ecore_x_randr_crtc_size_get(Ecore_X_Window root,
2944 Ecore_X_Randr_Crtc crtc,
2945 int *w,
2946 int *h);
2947EAPI Ecore_X_Randr_Refresh_Rate
2948ecore_x_randr_crtc_refresh_rate_get(Ecore_X_Window root,
2949 Ecore_X_Randr_Crtc crtc,
2950 Ecore_X_Randr_Mode mode);
2951EAPI Ecore_X_Randr_Orientation
2952ecore_x_randr_crtc_orientations_get(Ecore_X_Window root,
2953 Ecore_X_Randr_Crtc crtc);
2954EAPI Ecore_X_Randr_Orientation
2955ecore_x_randr_crtc_orientation_get(Ecore_X_Window root,
2956 Ecore_X_Randr_Crtc crtc);
2957EAPI Eina_Bool
2958ecore_x_randr_crtc_orientation_set(Ecore_X_Window root,
2959 Ecore_X_Randr_Crtc crtc,
2960 const Ecore_X_Randr_Orientation orientation);
2961EAPI Eina_Bool
2962ecore_x_randr_crtc_clone_set(Ecore_X_Window root,
2963 Ecore_X_Randr_Crtc original,
2964 Ecore_X_Randr_Crtc clone);
2965EAPI Eina_Bool
2966ecore_x_randr_crtc_settings_set(Ecore_X_Window root,
2967 Ecore_X_Randr_Crtc crtc,
2968 Ecore_X_Randr_Output *outputs,
2969 int noutputs,
2970 int x,
2971 int y,
2972 Ecore_X_Randr_Mode mode,
2973 Ecore_X_Randr_Orientation orientation);
2974EAPI Eina_Bool
2975ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
2976 Ecore_X_Randr_Crtc crtc_r1,
2977 Ecore_X_Randr_Crtc crtc_r2,
2978 Ecore_X_Randr_Output_Policy policy,
2979 Ecore_X_Randr_Relative_Alignment alignment);
2980EAPI Eina_Bool
2981ecore_x_randr_output_mode_add(Ecore_X_Randr_Output output,
2982 Ecore_X_Randr_Mode mode);
2983EAPI void
2984ecore_x_randr_output_mode_del(Ecore_X_Randr_Output output,
2985 Ecore_X_Randr_Mode mode);
2986EAPI Ecore_X_Randr_Mode *
2987ecore_x_randr_output_modes_get(Ecore_X_Window root,
2988 Ecore_X_Randr_Output output,
2989 int *num,
2990 int *npreferred);
2991EAPI Ecore_X_Randr_Output *ecore_x_randr_output_clones_get(Ecore_X_Window root,
2992 Ecore_X_Randr_Output output,
2993 int *num);
2994EAPI Ecore_X_Randr_Crtc *ecore_x_randr_output_possible_crtcs_get(Ecore_X_Window root,
2995 Ecore_X_Randr_Output output,
2996 int *num);
2997EAPI Ecore_X_Randr_Crtc
2998ecore_x_randr_output_crtc_get(Ecore_X_Window root,
2999 Ecore_X_Randr_Output output);
3000EAPI char *
3001ecore_x_randr_output_name_get(Ecore_X_Window root,
3002 Ecore_X_Randr_Output output,
3003 int *len);
3004EAPI int
3005 ecore_x_randr_crtc_gamma_ramp_size_get(Ecore_X_Randr_Crtc crtc);
3006EAPI Ecore_X_Randr_Crtc_Gamma **
3007 ecore_x_randr_crtc_gamma_ramps_get(Ecore_X_Randr_Crtc crtc);
3008EAPI Eina_Bool
3009 ecore_x_randr_crtc_gamma_ramps_set(Ecore_X_Randr_Crtc crtc,
3010 const Ecore_X_Randr_Crtc_Gamma *red,
3011 const Ecore_X_Randr_Crtc_Gamma *green,
3012 const Ecore_X_Randr_Crtc_Gamma *blue);
3013EAPI Eina_Bool
3014ecore_x_randr_move_all_crtcs_but(Ecore_X_Window root,
3015 const Ecore_X_Randr_Crtc *not_moved,
3016 int nnot_moved,
3017 int dx,
3018 int dy);
3019EAPI Eina_Bool
3020ecore_x_randr_move_crtcs(Ecore_X_Window root,
3021 const Ecore_X_Randr_Crtc *crtcs,
3022 int ncrtc,
3023 int dx,
3024 int dy);
3025EAPI void
3026ecore_x_randr_mode_size_get(Ecore_X_Window root,
3027 Ecore_X_Randr_Mode mode,
3028 int *w,
3029 int *h);
3030EAPI Ecore_X_Randr_Connection_Status
3031ecore_x_randr_output_connection_status_get(Ecore_X_Window root,
3032 Ecore_X_Randr_Output output);
3033EAPI void
3034ecore_x_randr_output_size_mm_get(Ecore_X_Window root,
3035 Ecore_X_Randr_Output output,
3036 int *w,
3037 int *h);
3038EAPI Eina_Bool
3039ecore_x_randr_output_crtc_set(Ecore_X_Window root,
3040 Ecore_X_Randr_Output output,
3041 const Ecore_X_Randr_Crtc crtc);
3042 1797
3043/* ecore_x_randr_12_edid.c */ 1798/* ecore_x_randr_12_edid.c */
3044 1799
3045/* 1800/**
3046 * @brief Validates the header from raw EDID data. 1801 * @brief Validates the header from raw EDID data.
3047 * 1802 *
3048 * @param edid The edid structure. 1803 * @param edid The edid structure.
3049 * @param edid_length Length of the edid structure. 1804 * @param edid_length Length of the edid structure.
3050 * @return @c EINA_TRUE, if the header is valid, @c EINA_FALSE otherwise. 1805 * @return @c EINA_TRUE, if the header is valid, @c EINA_FALSE otherwise.
3051 */ 1806 */
3052EAPI Eina_Bool 1807EAPI Eina_Bool ecore_x_randr_edid_has_valid_header(unsigned char *edid, unsigned long edid_length);
3053ecore_x_randr_edid_has_valid_header(unsigned char *edid,
3054 unsigned long edid_length);
3055 1808
3056/* 1809/**
3057 * @brief Checks whether a display's EDID has a valid checksum. 1810 * @brief Checks whether a display's EDID has a valid checksum.
3058 * 1811 *
3059 * @param edid The edid structure. 1812 * @param edid The edid structure.
3060 * @param edid_length Length of the edid structure. 1813 * @param edid_length Length of the edid structure.
3061 * @return @c EINA_TRUE, if the checksum is valid, @c EINA_FALSE otherwise. 1814 * @return @c EINA_TRUE, if the checksum is valid, @c EINA_FALSE otherwise.
3062 */ 1815 */
3063EAPI Eina_Bool 1816EAPI Eina_Bool ecore_x_randr_edid_info_has_valid_checksum(unsigned char *edid, unsigned long edid_length);
3064ecore_x_randr_edid_info_has_valid_checksum(unsigned char *edid,
3065 unsigned long edid_length);
3066 1817
3067/* 1818/**
3068 * @brief Get the encoded version from raw EDID data. 1819 * @brief Get the encoded version from raw EDID data.
3069 * 1820 *
3070 * The return value has the minor version in the lowest 8 bits, and the major 1821 * The return value has the minor version in the lowest 8 bits, and the major
@@ -3077,55 +1828,45 @@ ecore_x_randr_edid_info_has_valid_checksum(unsigned char *edid,
3077 * @param edid_length length of the edid structure 1828 * @param edid_length length of the edid structure
3078 * @return The encoded major and minor version encasuplated an int. 1829 * @return The encoded major and minor version encasuplated an int.
3079 */ 1830 */
3080EAPI int 1831EAPI int ecore_x_randr_edid_version_get(unsigned char *edid, unsigned long edid_length);
3081ecore_x_randr_edid_version_get(unsigned char *edid,
3082 unsigned long edid_length);
3083 1832
3084/* 1833/**
3085 * @brief Get the encoded manufacturer from raw EDID data. 1834 * @brief Get the encoded manufacturer from raw EDID data.
3086 * 1835 *
3087 * @param edid the edid structure 1836 * @param edid the edid structure
3088 * @param edid_length length of the edid structure 1837 * @param edid_length length of the edid structure
3089 * @return The encoded manufacturer identifier. 1838 * @return The encoded manufacturer identifier.
3090 */ 1839 */
3091EAPI char * 1840EAPI char *ecore_x_randr_edid_manufacturer_name_get(unsigned char *edid, unsigned long edid_length);
3092ecore_x_randr_edid_manufacturer_name_get(unsigned char *edid,
3093 unsigned long edid_length);
3094 1841
3095/* 1842/**
3096 * @brief Get the encoded name from raw EDID data. 1843 * @brief Get the encoded name from raw EDID data.
3097 * 1844 *
3098 * @param edid the edid structure 1845 * @param edid the edid structure
3099 * @param edid_length length of the edid structure 1846 * @param edid_length length of the edid structure
3100 * @return The encoded manufacturer identifier. 1847 * @return The encoded manufacturer identifier.
3101 */ 1848 */
3102EAPI char * 1849EAPI char *ecore_x_randr_edid_display_name_get(unsigned char *edid, unsigned long edid_length);
3103ecore_x_randr_edid_display_name_get(unsigned char *edid,
3104 unsigned long edid_length);
3105 1850
3106/* 1851/**
3107 * @brief Get the encoded ASCII from raw EDID data. 1852 * @brief Get the encoded ASCII from raw EDID data.
3108 * 1853 *
3109 * @param edid the edid structure 1854 * @param edid the edid structure
3110 * @param edid_length length of the edid structure 1855 * @param edid_length length of the edid structure
3111 * @return The encoded ASCII display identifier. 1856 * @return The encoded ASCII display identifier.
3112 */ 1857 */
3113EAPI char * 1858EAPI char *ecore_x_randr_edid_display_ascii_get(unsigned char *edid, unsigned long edid_length);
3114ecore_x_randr_edid_display_ascii_get(unsigned char *edid,
3115 unsigned long edid_length);
3116 1859
3117/* 1860/**
3118 * @brief Get the encoded serial identifier from raw EDID data. 1861 * @brief Get the encoded serial identifier from raw EDID data.
3119 * 1862 *
3120 * @param edid the edid structure 1863 * @param edid the edid structure
3121 * @param edid_length length of the edid structure 1864 * @param edid_length length of the edid structure
3122 * @return The encoded serial identifier. 1865 * @return The encoded serial identifier.
3123 */ 1866 */
3124EAPI char * 1867EAPI char *ecore_x_randr_edid_display_serial_get(unsigned char *edid, unsigned long edid_length);
3125ecore_x_randr_edid_display_serial_get(unsigned char *edid,
3126 unsigned long edid_length);
3127 1868
3128/* 1869/**
3129 * @brief Get the encoded model number from raw EDID data. 1870 * @brief Get the encoded model number from raw EDID data.
3130 * 1871 *
3131 * The manufacturer ID table is necessary for a useful description. 1872 * The manufacturer ID table is necessary for a useful description.
@@ -3134,33 +1875,27 @@ ecore_x_randr_edid_display_serial_get(unsigned char *edid,
3134 * @param edid_length length of the edid structure 1875 * @param edid_length length of the edid structure
3135 * @return The encoded model number. 1876 * @return The encoded model number.
3136 */ 1877 */
3137EAPI int 1878EAPI int ecore_x_randr_edid_model_get(unsigned char *edid, unsigned long edid_length);
3138ecore_x_randr_edid_model_get(unsigned char *edid,
3139 unsigned long edid_length);
3140 1879
3141/* 1880/**
3142 * @brief Get the manufacturer serial number from raw EDID data. 1881 * @brief Get the manufacturer serial number from raw EDID data.
3143 * 1882 *
3144 * @param edid the edid structure 1883 * @param edid the edid structure
3145 * @param edid_length length of the edid structure 1884 * @param edid_length length of the edid structure
3146 * @return The encoded serial manufacturer serial number. 1885 * @return The encoded serial manufacturer serial number.
3147 */ 1886 */
3148EAPI int 1887EAPI int ecore_x_randr_edid_manufacturer_serial_number_get(unsigned char *edid, unsigned long edid_length);
3149ecore_x_randr_edid_manufacturer_serial_number_get(unsigned char *edid,
3150 unsigned long edid_length);
3151 1888
3152/* 1889/**
3153 * @brief Get the manufacturer model number from raw EDID data. 1890 * @brief Get the manufacturer model number from raw EDID data.
3154 * 1891 *
3155 * @param edid the edid structure 1892 * @param edid the edid structure
3156 * @param edid_length length of the edid structure 1893 * @param edid_length length of the edid structure
3157 * @return The manufacturer's model number. 1894 * @return The manufacturer's model number.
3158 */ 1895 */
3159EAPI int 1896EAPI int ecore_x_randr_edid_manufacturer_model_get(unsigned char *edid, unsigned long edid_length);
3160ecore_x_randr_edid_manufacturer_model_get(unsigned char *edid,
3161 unsigned long edid_length);
3162 1897
3163/* 1898/**
3164 * @brief Looks up the DPMS support from raw EDID data. 1899 * @brief Looks up the DPMS support from raw EDID data.
3165 * 1900 *
3166 * @param edid The edid structure. 1901 * @param edid The edid structure.
@@ -3168,77 +1903,63 @@ ecore_x_randr_edid_manufacturer_model_get(unsigned char *edid,
3168 * @return @c EINA_TRUE, if DPMS is supported in some way, @c EINA_FALSE 1903 * @return @c EINA_TRUE, if DPMS is supported in some way, @c EINA_FALSE
3169 * otherwise. 1904 * otherwise.
3170 */ 1905 */
3171EAPI Eina_Bool 1906EAPI Eina_Bool ecore_x_randr_edid_dpms_available_get(unsigned char *edid, unsigned long edid_length);
3172ecore_x_randr_edid_dpms_available_get(unsigned char *edid,
3173 unsigned long edid_length);
3174 1907
3175/* 1908/**
3176 * @brief Looks up the DPMS Standby support from raw EDID data. 1909 * @brief Looks up the DPMS Standby support from raw EDID data.
3177 * 1910 *
3178 * @param edid The edid structure. 1911 * @param edid The edid structure.
3179 * @param edid_length Length of the edid structure. 1912 * @param edid_length Length of the edid structure.
3180 * @return @c EINA_TRUE, if DPMS Standby is supported, @c EINA_FALSE otherwise. 1913 * @return @c EINA_TRUE, if DPMS Standby is supported, @c EINA_FALSE otherwise.
3181 */ 1914 */
3182EAPI Eina_Bool 1915EAPI Eina_Bool ecore_x_randr_edid_dpms_standby_available_get(unsigned char *edid, unsigned long edid_length);
3183ecore_x_randr_edid_dpms_standby_available_get(unsigned char *edid,
3184 unsigned long edid_length);
3185 1916
3186/* 1917/**
3187 * @brief Looks up the DPMS Suspend support from raw EDID data. 1918 * @brief Looks up the DPMS Suspend support from raw EDID data.
3188 * 1919 *
3189 * @param edid The edid structure. 1920 * @param edid The edid structure.
3190 * @param edid_length Length of the edid structure. 1921 * @param edid_length Length of the edid structure.
3191 * @return @c EINA_TRUE, if DPMS Suspend is supported, @c EINA_FALSE otherwise. 1922 * @return @c EINA_TRUE, if DPMS Suspend is supported, @c EINA_FALSE otherwise.
3192 */ 1923 */
3193EAPI Eina_Bool 1924EAPI Eina_Bool ecore_x_randr_edid_dpms_suspend_available_get(unsigned char *edid, unsigned long edid_length);
3194ecore_x_randr_edid_dpms_suspend_available_get(unsigned char *edid,
3195 unsigned long edid_length);
3196 1925
3197/* 1926/**
3198 * @brief Looks up the DPMS Off support from raw EDID data. 1927 * @brief Looks up the DPMS Off support from raw EDID data.
3199 * 1928 *
3200 * @param edid The edid structure. 1929 * @param edid The edid structure.
3201 * @param edid_length Length of the edid structure. 1930 * @param edid_length Length of the edid structure.
3202 * @return @c EINA_TRUE, if DPMS Off is supported, @c EINA_FALSE otherwise. 1931 * @return @c EINA_TRUE, if DPMS Off is supported, @c EINA_FALSE otherwise.
3203 */ 1932 */
3204EAPI Eina_Bool 1933EAPI Eina_Bool ecore_x_randr_edid_dpms_off_available_get(unsigned char *edid, unsigned long edid_length);
3205ecore_x_randr_edid_dpms_off_available_get(unsigned char *edid,
3206 unsigned long edid_length);
3207 1934
3208/* 1935/**
3209 * @brief Get the preferred aspect ratio from raw EDID data. 1936 * @brief Get the preferred aspect ratio from raw EDID data.
3210 * 1937 *
3211 * @param edid the edid structure 1938 * @param edid the edid structure
3212 * @param edid_length length of the edid structure 1939 * @param edid_length length of the edid structure
3213 * @return The preferred aspect ratio. 1940 * @return The preferred aspect ratio.
3214 */ 1941 */
3215EAPI Ecore_X_Randr_Edid_Aspect_Ratio 1942EAPI Ecore_X_Randr_Edid_Aspect_Ratio ecore_x_randr_edid_display_aspect_ratio_preferred_get(unsigned char *edid, unsigned long edid_length);
3216ecore_x_randr_edid_display_aspect_ratio_preferred_get(unsigned char *edid,
3217 unsigned long edid_length);
3218 1943
3219/* 1944/**
3220 * @brief Get the supported aspect ratios from raw EDID data. 1945 * @brief Get the supported aspect ratios from raw EDID data.
3221 * 1946 *
3222 * @param edid the edid structure 1947 * @param edid the edid structure
3223 * @param edid_length length of the edid structure 1948 * @param edid_length length of the edid structure
3224 * @return The supported aspect ratios. 1949 * @return The supported aspect ratios.
3225 */ 1950 */
3226EAPI Ecore_X_Randr_Edid_Aspect_Ratio 1951EAPI Ecore_X_Randr_Edid_Aspect_Ratio ecore_x_randr_edid_display_aspect_ratios_get(unsigned char *edid, unsigned long edid_length);
3227ecore_x_randr_edid_display_aspect_ratios_get(unsigned char *edid,
3228 unsigned long edid_length);
3229 1952
3230/* 1953/**
3231 * @brief Get the supported colorschemes from raw EDID data. 1954 * @brief Get the supported colorschemes from raw EDID data.
3232 * 1955 *
3233 * @param edid the edid structure 1956 * @param edid the edid structure
3234 * @param edid_length length of the edid structure 1957 * @param edid_length length of the edid structure
3235 * @return The supported colorschemes. 1958 * @return The supported colorschemes.
3236 */ 1959 */
3237EAPI Ecore_X_Randr_Edid_Display_Colorscheme 1960EAPI Ecore_X_Randr_Edid_Display_Colorscheme ecore_x_randr_edid_display_colorscheme_get(unsigned char *edid, unsigned long edid_length);
3238ecore_x_randr_edid_display_colorscheme_get(unsigned char *edid,
3239 unsigned long edid_length);
3240 1961
3241/* 1962/**
3242 * @brief Get the display type from raw EDID data. 1963 * @brief Get the display type from raw EDID data.
3243 * 1964 *
3244 * @param edid The edid structure. 1965 * @param edid The edid structure.
@@ -3246,111 +1967,40 @@ ecore_x_randr_edid_display_colorscheme_get(unsigned char *edid,
3246 * @return @c EINA_TRUE, if the display is a digital one, @c EINA_FALSE 1967 * @return @c EINA_TRUE, if the display is a digital one, @c EINA_FALSE
3247 * otherwise. 1968 * otherwise.
3248 */ 1969 */
3249EAPI Eina_Bool 1970EAPI Eina_Bool ecore_x_randr_edid_display_type_digital_get(unsigned char *edid, unsigned long edid_length);
3250ecore_x_randr_edid_display_type_digital_get(unsigned char *edid,
3251 unsigned long edid_length);
3252 1971
3253/* 1972/**
3254 * @brief Get the display interface type from raw EDID data. 1973 * @brief Get the display interface type from raw EDID data.
3255 * 1974 *
3256 * @param edid the edid structure 1975 * @param edid the edid structure
3257 * @param edid_length length of the edid structure 1976 * @param edid_length length of the edid structure
3258 * @return The interface type. 1977 * @return The interface type.
3259 */ 1978 */
3260EAPI Ecore_X_Randr_Edid_Display_Interface_Type 1979EAPI Ecore_X_Randr_Edid_Display_Interface_Type ecore_x_randr_edid_display_interface_type_get(unsigned char *edid, unsigned long edid_length);
3261ecore_x_randr_edid_display_interface_type_get(unsigned char *edid,
3262 unsigned long edid_length);
3263 1980
3264/* ecore_x_randr_12.c */ 1981/* ecore_x_randr_12.c */
3265 1982
3266EAPI Eina_Bool 1983EAPI Eina_Bool ecore_x_randr_output_backlight_available(void);
3267ecore_x_randr_output_backlight_available(void); 1984EAPI void ecore_x_randr_screen_backlight_level_set(Ecore_X_Window root, double level);
3268EAPI void 1985EAPI double ecore_x_randr_output_backlight_level_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
3269ecore_x_randr_screen_backlight_level_set(Ecore_X_Window root, 1986EAPI Eina_Bool ecore_x_randr_output_backlight_level_set(Ecore_X_Window root, Ecore_X_Randr_Output output, double level);
3270 double level); 1987EAPI Ecore_X_Randr_Output ecore_x_randr_primary_output_get(Ecore_X_Window root);
3271EAPI double 1988EAPI void ecore_x_randr_primary_output_set(Ecore_X_Window root, Ecore_X_Randr_Output output);
3272ecore_x_randr_output_backlight_level_get(Ecore_X_Window root, 1989EAPI Ecore_X_Render_Subpixel_Order ecore_x_randr_output_subpixel_order_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
3273 Ecore_X_Randr_Output output); 1990EAPI unsigned char *ecore_x_randr_output_edid_get(Ecore_X_Window root, Ecore_X_Randr_Output output, unsigned long *length);
3274EAPI Eina_Bool 1991EAPI Ecore_X_Randr_Output *ecore_x_randr_output_wired_clones_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
3275ecore_x_randr_output_backlight_level_set(Ecore_X_Window root, 1992EAPI Ecore_X_Randr_Output **ecore_x_randr_output_compatibility_list_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
3276 Ecore_X_Randr_Output output, 1993EAPI Ecore_X_Randr_Signal_Format *ecore_x_randr_output_signal_formats_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
3277 double level); 1994EAPI Eina_Bool ecore_x_randr_output_signal_format_set(Ecore_X_Window root, Ecore_X_Randr_Output output, Ecore_X_Randr_Signal_Format *signal);
3278EAPI Ecore_X_Randr_Output 1995EAPI Ecore_X_Randr_Signal_Property *ecore_x_randr_output_signal_properties_get(Ecore_X_Window root, Ecore_X_Randr_Output output, int *num);
3279 ecore_x_randr_primary_output_get(Ecore_X_Window root); 1996EAPI int ecore_x_randr_output_connector_number_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
3280EAPI void 1997EAPI Ecore_X_Randr_Connector_Type ecore_x_randr_output_connector_type_get(Ecore_X_Window root, Ecore_X_Randr_Output output);
3281 ecore_x_randr_primary_output_set(Ecore_X_Window root, 1998EAPI Eina_Rectangle *ecore_x_randr_crtc_panning_area_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *x, int *y, int *w, int *h);
3282 Ecore_X_Randr_Output output); 1999EAPI Eina_Bool ecore_x_randr_crtc_panning_area_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int x, const int y, const int w, const int h);
3283EAPI Ecore_X_Render_Subpixel_Order 2000EAPI Eina_Rectangle *ecore_x_randr_crtc_tracking_area_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int *x, int *y, int *w, int *h);
3284ecore_x_randr_output_subpixel_order_get(Ecore_X_Window root, 2001EAPI Eina_Bool ecore_x_randr_crtc_tracking_area_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int x, const int y, const int w, const int h);
3285 Ecore_X_Randr_Output output); 2002EAPI Eina_Rectangle *ecore_x_randr_crtc_border_area_get(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc);
3286EAPI unsigned char * 2003EAPI Eina_Bool ecore_x_randr_crtc_border_area_set(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc, int left, const int top, const int right, const int bottom);
3287ecore_x_randr_output_edid_get(Ecore_X_Window root,
3288 Ecore_X_Randr_Output output,
3289 unsigned long *length);
3290EAPI Ecore_X_Randr_Output *
3291ecore_x_randr_output_wired_clones_get(Ecore_X_Window root,
3292 Ecore_X_Randr_Output output,
3293 int *num);
3294EAPI Ecore_X_Randr_Output **
3295ecore_x_randr_output_compatibility_list_get(Ecore_X_Window root,
3296 Ecore_X_Randr_Output output,
3297 int *num);
3298EAPI Ecore_X_Randr_Signal_Format *
3299ecore_x_randr_output_signal_formats_get(Ecore_X_Window root,
3300 Ecore_X_Randr_Output output,
3301 int *num);
3302EAPI Eina_Bool
3303ecore_x_randr_output_signal_format_set(Ecore_X_Window root,
3304 Ecore_X_Randr_Output output,
3305 Ecore_X_Randr_Signal_Format *signal);
3306EAPI Ecore_X_Randr_Signal_Property *
3307ecore_x_randr_output_signal_properties_get(Ecore_X_Window root,
3308 Ecore_X_Randr_Output output,
3309 int *num);
3310EAPI int
3311ecore_x_randr_output_connector_number_get(Ecore_X_Window root,
3312 Ecore_X_Randr_Output output);
3313EAPI Ecore_X_Randr_Connector_Type
3314ecore_x_randr_output_connector_type_get(Ecore_X_Window root,
3315 Ecore_X_Randr_Output output);
3316EAPI Eina_Rectangle *
3317ecore_x_randr_crtc_panning_area_get(Ecore_X_Window root,
3318 Ecore_X_Randr_Crtc crtc,
3319 int *x,
3320 int *y,
3321 int *w,
3322 int *h);
3323EAPI Eina_Bool
3324ecore_x_randr_crtc_panning_area_set(Ecore_X_Window root,
3325 Ecore_X_Randr_Crtc crtc,
3326 int x,
3327 const int y,
3328 const int w,
3329 const int h);
3330EAPI Eina_Rectangle *
3331ecore_x_randr_crtc_tracking_area_get(Ecore_X_Window root,
3332 Ecore_X_Randr_Crtc crtc,
3333 int *x,
3334 int *y,
3335 int *w,
3336 int *h);
3337EAPI Eina_Bool
3338ecore_x_randr_crtc_tracking_area_set(Ecore_X_Window root,
3339 Ecore_X_Randr_Crtc crtc,
3340 int x,
3341 const int y,
3342 const int w,
3343 const int h);
3344EAPI Eina_Rectangle *
3345ecore_x_randr_crtc_border_area_get(Ecore_X_Window root,
3346 Ecore_X_Randr_Crtc crtc);
3347EAPI Eina_Bool
3348ecore_x_randr_crtc_border_area_set(Ecore_X_Window root,
3349 Ecore_X_Randr_Crtc crtc,
3350 int left,
3351 const int top,
3352 const int right,
3353 const int bottom);
3354 2004
3355/* XRender Support (horrendously incomplete) */ 2005/* XRender Support (horrendously incomplete) */
3356typedef Ecore_X_ID Ecore_X_Picture; 2006typedef Ecore_X_ID Ecore_X_Picture;
@@ -3364,77 +2014,25 @@ typedef enum _Ecore_X_Region_Type
3364 ECORE_X_REGION_CLIP 2014 ECORE_X_REGION_CLIP
3365} Ecore_X_Region_Type; 2015} Ecore_X_Region_Type;
3366 2016
3367EAPI Ecore_X_Region 2017EAPI Ecore_X_Region ecore_x_region_new(Ecore_X_Rectangle *rects, int num);
3368ecore_x_region_new(Ecore_X_Rectangle *rects, 2018EAPI Ecore_X_Region ecore_x_region_new_from_bitmap(Ecore_X_Pixmap bitmap);
3369 int num); 2019EAPI Ecore_X_Region ecore_x_region_new_from_window(Ecore_X_Window win, Ecore_X_Region_Type type);
3370EAPI Ecore_X_Region 2020EAPI Ecore_X_Region ecore_x_region_new_from_gc(Ecore_X_GC gc);
3371 ecore_x_region_new_from_bitmap(Ecore_X_Pixmap bitmap); 2021EAPI Ecore_X_Region ecore_x_region_new_from_picture(Ecore_X_Picture picture);
3372EAPI Ecore_X_Region 2022EAPI void ecore_x_region_free(Ecore_X_Region region);
3373 ecore_x_region_new_from_window(Ecore_X_Window win, 2023EAPI void ecore_x_region_set(Ecore_X_Region region, Ecore_X_Rectangle *rects, int num);
3374 Ecore_X_Region_Type type); 2024EAPI void ecore_x_region_copy(Ecore_X_Region dest, Ecore_X_Region source);
3375EAPI Ecore_X_Region 2025EAPI void ecore_x_region_combine(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2);
3376 ecore_x_region_new_from_gc(Ecore_X_GC gc); 2026EAPI void ecore_x_region_intersect(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2);
3377EAPI Ecore_X_Region 2027EAPI void ecore_x_region_subtract(Ecore_X_Region dest, Ecore_X_Region source1, Ecore_X_Region source2);
3378 ecore_x_region_new_from_picture(Ecore_X_Picture picture); 2028EAPI void ecore_x_region_invert(Ecore_X_Region dest, Ecore_X_Rectangle *bounds, Ecore_X_Region source);
3379EAPI void 2029EAPI void ecore_x_region_translate(Ecore_X_Region region, int dx, int dy);
3380 ecore_x_region_free(Ecore_X_Region region); 2030EAPI void ecore_x_region_extents(Ecore_X_Region dest, Ecore_X_Region source);
3381EAPI void 2031EAPI Ecore_X_Rectangle *ecore_x_region_fetch(Ecore_X_Region region, int *num, Ecore_X_Rectangle *bounds);
3382 ecore_x_region_set(Ecore_X_Region region, 2032EAPI 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);
3383 Ecore_X_Rectangle *rects, 2033EAPI void ecore_x_region_gc_clip_set(Ecore_X_Region region, Ecore_X_GC gc, int x_origin, int y_origin);
3384 int num); 2034EAPI 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);
3385EAPI void 2035EAPI void ecore_x_region_picture_clip_set(Ecore_X_Region region, Ecore_X_Picture picture, int x_origin, int y_origin);
3386ecore_x_region_copy(Ecore_X_Region dest,
3387 Ecore_X_Region source);
3388EAPI void
3389ecore_x_region_combine(Ecore_X_Region dest,
3390 Ecore_X_Region source1,
3391 Ecore_X_Region source2);
3392EAPI void
3393ecore_x_region_intersect(Ecore_X_Region dest,
3394 Ecore_X_Region source1,
3395 Ecore_X_Region source2);
3396EAPI void
3397ecore_x_region_subtract(Ecore_X_Region dest,
3398 Ecore_X_Region source1,
3399 Ecore_X_Region source2);
3400EAPI void
3401ecore_x_region_invert(Ecore_X_Region dest,
3402 Ecore_X_Rectangle *bounds,
3403 Ecore_X_Region source);
3404EAPI void
3405ecore_x_region_translate(Ecore_X_Region region,
3406 int dx,
3407 int dy);
3408EAPI void
3409ecore_x_region_extents(Ecore_X_Region dest,
3410 Ecore_X_Region source);
3411EAPI Ecore_X_Rectangle *
3412ecore_x_region_fetch(Ecore_X_Region region,
3413 int *num,
3414 Ecore_X_Rectangle *bounds);
3415EAPI void
3416ecore_x_region_expand(Ecore_X_Region dest,
3417 Ecore_X_Region source,
3418 unsigned int left,
3419 unsigned int right,
3420 unsigned int top,
3421 unsigned int bottom);
3422EAPI void
3423ecore_x_region_gc_clip_set(Ecore_X_Region region,
3424 Ecore_X_GC gc,
3425 int x_origin,
3426 int y_origin);
3427EAPI void
3428ecore_x_region_window_shape_set(Ecore_X_Region region,
3429 Ecore_X_Window win,
3430 Ecore_X_Shape_Type type,
3431 int x_offset,
3432 int y_offset);
3433EAPI void
3434ecore_x_region_picture_clip_set(Ecore_X_Region region,
3435 Ecore_X_Picture picture,
3436 int x_origin,
3437 int y_origin);
3438 2036
3439/** 2037/**
3440 * xfixes selection notification request. 2038 * xfixes selection notification request.
@@ -3444,34 +2042,19 @@ ecore_x_region_picture_clip_set(Ecore_X_Region region,
3444 * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise. 2042 * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
3445 * @since 1.1.0 2043 * @since 1.1.0
3446 */ 2044 */
3447EAPI Eina_Bool 2045EAPI Eina_Bool ecore_x_fixes_selection_notification_request(Ecore_X_Atom selection);
3448ecore_x_fixes_selection_notification_request(Ecore_X_Atom selection);
3449 2046
3450/* XComposite Extension Support */ 2047/* XComposite Extension Support */
3451EAPI Eina_Bool 2048EAPI Eina_Bool ecore_x_composite_query(void);
3452 ecore_x_composite_query(void); 2049EAPI void ecore_x_composite_redirect_window(Ecore_X_Window win, Ecore_X_Composite_Update_Type type);
3453EAPI void 2050EAPI void ecore_x_composite_redirect_subwindows(Ecore_X_Window win, Ecore_X_Composite_Update_Type type);
3454 ecore_x_composite_redirect_window(Ecore_X_Window win, 2051EAPI void ecore_x_composite_unredirect_window(Ecore_X_Window win, Ecore_X_Composite_Update_Type type);
3455 Ecore_X_Composite_Update_Type type); 2052EAPI void ecore_x_composite_unredirect_subwindows(Ecore_X_Window win, Ecore_X_Composite_Update_Type type);
3456EAPI void 2053EAPI Ecore_X_Pixmap ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win);
3457ecore_x_composite_redirect_subwindows(Ecore_X_Window win, 2054EAPI void ecore_x_composite_window_events_disable(Ecore_X_Window win);
3458 Ecore_X_Composite_Update_Type type); 2055EAPI void ecore_x_composite_window_events_enable(Ecore_X_Window win);
3459EAPI void 2056EAPI Ecore_X_Window ecore_x_composite_render_window_enable(Ecore_X_Window root);
3460ecore_x_composite_unredirect_window(Ecore_X_Window win, 2057EAPI void ecore_x_composite_render_window_disable(Ecore_X_Window root);
3461 Ecore_X_Composite_Update_Type type);
3462EAPI void
3463ecore_x_composite_unredirect_subwindows(Ecore_X_Window win,
3464 Ecore_X_Composite_Update_Type type);
3465EAPI Ecore_X_Pixmap
3466 ecore_x_composite_name_window_pixmap_get(Ecore_X_Window win);
3467EAPI void
3468 ecore_x_composite_window_events_disable(Ecore_X_Window win);
3469EAPI void
3470 ecore_x_composite_window_events_enable(Ecore_X_Window win);
3471EAPI Ecore_X_Window
3472 ecore_x_composite_render_window_enable(Ecore_X_Window root);
3473EAPI void
3474 ecore_x_composite_render_window_disable(Ecore_X_Window root);
3475 2058
3476/* XDamage Extension Support */ 2059/* XDamage Extension Support */
3477typedef Ecore_X_ID Ecore_X_Damage; 2060typedef Ecore_X_ID Ecore_X_Damage;
@@ -3497,61 +2080,31 @@ struct _Ecore_X_Event_Damage
3497 2080
3498typedef struct _Ecore_X_Event_Damage Ecore_X_Event_Damage; 2081typedef struct _Ecore_X_Event_Damage Ecore_X_Event_Damage;
3499 2082
3500EAPI Eina_Bool 2083EAPI Eina_Bool ecore_x_damage_query(void);
3501 ecore_x_damage_query(void); 2084EAPI Ecore_X_Damage ecore_x_damage_new(Ecore_X_Drawable d, Ecore_X_Damage_Report_Level level);
3502EAPI Ecore_X_Damage 2085EAPI void ecore_x_damage_free(Ecore_X_Damage damage);
3503 ecore_x_damage_new(Ecore_X_Drawable d, 2086EAPI void ecore_x_damage_subtract(Ecore_X_Damage damage, Ecore_X_Region repair, Ecore_X_Region parts);
3504 Ecore_X_Damage_Report_Level level); 2087
3505EAPI void 2088EAPI Eina_Bool ecore_x_screen_is_composited(int screen);
3506 ecore_x_damage_free(Ecore_X_Damage damage); 2089EAPI void ecore_x_screen_is_composited_set(int screen, Ecore_X_Window win);
3507EAPI void 2090
3508 ecore_x_damage_subtract(Ecore_X_Damage damage, 2091EAPI Eina_Bool ecore_x_dpms_query(void);
3509 Ecore_X_Region repair, 2092EAPI Eina_Bool ecore_x_dpms_capable_get(void);
3510 Ecore_X_Region parts); 2093EAPI Eina_Bool ecore_x_dpms_enabled_get(void);
3511 2094EAPI void ecore_x_dpms_enabled_set(int enabled);
3512EAPI Eina_Bool 2095EAPI void ecore_x_dpms_timeouts_get(unsigned int *standby, unsigned int *suspend, unsigned int *off);
3513 ecore_x_screen_is_composited(int screen); 2096EAPI Eina_Bool ecore_x_dpms_timeouts_set(unsigned int standby, unsigned int suspend, unsigned int off);
3514EAPI void 2097EAPI unsigned int ecore_x_dpms_timeout_standby_get(void);
3515 ecore_x_screen_is_composited_set(int screen, 2098EAPI unsigned int ecore_x_dpms_timeout_suspend_get(void);
3516 Ecore_X_Window win); 2099EAPI unsigned int ecore_x_dpms_timeout_off_get(void);
3517 2100EAPI void ecore_x_dpms_timeout_standby_set(unsigned int new_timeout);
3518EAPI Eina_Bool 2101EAPI void ecore_x_dpms_timeout_suspend_set(unsigned int new_timeout);
3519 ecore_x_dpms_query(void); 2102EAPI void ecore_x_dpms_timeout_off_set(unsigned int new_timeout);
3520EAPI Eina_Bool 2103
3521 ecore_x_dpms_capable_get(void); 2104EAPI Eina_Bool ecore_x_test_fake_key_down(const char *key);
3522EAPI Eina_Bool 2105EAPI Eina_Bool ecore_x_test_fake_key_up(const char *key);
3523 ecore_x_dpms_enabled_get(void); 2106EAPI Eina_Bool ecore_x_test_fake_key_press(const char *key);
3524EAPI void 2107EAPI const char *ecore_x_keysym_string_get(int keysym);
3525 ecore_x_dpms_enabled_set(int enabled);
3526EAPI void
3527 ecore_x_dpms_timeouts_get(unsigned int *standby,
3528 unsigned int *suspend,
3529 unsigned int *off);
3530EAPI Eina_Bool
3531ecore_x_dpms_timeouts_set(unsigned int standby,
3532 unsigned int suspend,
3533 unsigned int off);
3534EAPI unsigned int
3535 ecore_x_dpms_timeout_standby_get(void);
3536EAPI unsigned int
3537 ecore_x_dpms_timeout_suspend_get(void);
3538EAPI unsigned int
3539 ecore_x_dpms_timeout_off_get(void);
3540EAPI void
3541 ecore_x_dpms_timeout_standby_set(unsigned int new_timeout);
3542EAPI void
3543 ecore_x_dpms_timeout_suspend_set(unsigned int new_timeout);
3544EAPI void
3545 ecore_x_dpms_timeout_off_set(unsigned int new_timeout);
3546
3547EAPI Eina_Bool
3548 ecore_x_test_fake_key_down(const char *key);
3549EAPI Eina_Bool
3550 ecore_x_test_fake_key_up(const char *key);
3551EAPI Eina_Bool
3552 ecore_x_test_fake_key_press(const char *key);
3553EAPI const char *
3554 ecore_x_keysym_string_get(int keysym);
3555 2108
3556/** 2109/**
3557 * Given a keyname, return the keycode representing that key 2110 * Given a keyname, return the keycode representing that key
@@ -3560,64 +2113,22 @@ EAPI const char *
3560 * 2113 *
3561 * @since 1.2.0 2114 * @since 1.2.0
3562 */ 2115 */
3563EAPI int ecore_x_keysym_keycode_get(const char *keyname); 2116EAPI int ecore_x_keysym_keycode_get(const char *keyname);
3564 2117
3565typedef struct _Ecore_X_Image Ecore_X_Image; 2118typedef struct _Ecore_X_Image Ecore_X_Image;
3566 2119
3567EAPI Ecore_X_Image * 2120EAPI Ecore_X_Image *ecore_x_image_new(int w, int h, Ecore_X_Visual vis, int depth);
3568ecore_x_image_new(int w, 2121EAPI void ecore_x_image_free(Ecore_X_Image *im);
3569 int h, 2122EAPI 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);
3570 Ecore_X_Visual vis, 2123EAPI void ecore_x_image_put(Ecore_X_Image *im, Ecore_X_Drawable draw, Ecore_X_GC gc, int x, int y, int sx, int sy, int w, int h);
3571 int depth); 2124EAPI void *ecore_x_image_data_get(Ecore_X_Image *im, int *bpl, int *rows, int *bpp);
3572EAPI void 2125EAPI Eina_Bool ecore_x_image_is_argb32_get(Ecore_X_Image *im);
3573 ecore_x_image_free(Ecore_X_Image *im); 2126
3574EAPI Eina_Bool 2127EAPI Eina_Bool ecore_x_image_to_argb_convert(void *src, int sbpp, int sbpl, Ecore_X_Colormap c, Ecore_X_Visual v, int x, int y, int w, int h, unsigned int *dst, int dbpl, int dx, int dy);
3575 ecore_x_image_get(Ecore_X_Image *im, 2128
3576 Ecore_X_Drawable draw, 2129EAPI Eina_Bool ecore_x_input_multi_select(Ecore_X_Window win);
3577 int x, 2130
3578 int y, 2131EAPI Eina_Bool ecore_x_vsync_animator_tick_source_set(Ecore_X_Window win);
3579 int sx,
3580 int sy,
3581 int w,
3582 int h);
3583EAPI void
3584ecore_x_image_put(Ecore_X_Image *im,
3585 Ecore_X_Drawable draw,
3586 Ecore_X_GC gc,
3587 int x,
3588 int y,
3589 int sx,
3590 int sy,
3591 int w,
3592 int h);
3593EAPI void *
3594ecore_x_image_data_get(Ecore_X_Image *im,
3595 int *bpl,
3596 int *rows,
3597 int *bpp);
3598EAPI Eina_Bool
3599ecore_x_image_is_argb32_get(Ecore_X_Image *im);
3600
3601EAPI Eina_Bool
3602ecore_x_image_to_argb_convert(void *src,
3603 int sbpp,
3604 int sbpl,
3605 Ecore_X_Colormap c,
3606 Ecore_X_Visual v,
3607 int x,
3608 int y,
3609 int w,
3610 int h,
3611 unsigned int *dst,
3612 int dbpl,
3613 int dx,
3614 int dy);
3615
3616EAPI Eina_Bool
3617ecore_x_input_multi_select(Ecore_X_Window win);
3618
3619EAPI Eina_Bool
3620ecore_x_vsync_animator_tick_source_set(Ecore_X_Window win);
3621 2132
3622typedef enum _Ecore_X_Gesture_Event_Mask 2133typedef enum _Ecore_X_Gesture_Event_Mask
3623{ 2134{
@@ -3671,125 +2182,105 @@ typedef enum _Ecore_X_Gesture_Direction
3671 2182
3672struct _Ecore_X_Event_Gesture_Notify_Flick 2183struct _Ecore_X_Event_Gesture_Notify_Flick
3673{ 2184{
3674 Ecore_X_Window win; 2185 Ecore_X_Window win;
3675 Ecore_X_Time time; 2186 Ecore_X_Time time;
3676 Ecore_X_Gesture_Event_Subtype subtype; 2187 Ecore_X_Gesture_Event_Subtype subtype;
3677 int num_fingers; 2188 int num_fingers;
3678 int distance; 2189 int distance;
3679 Ecore_X_Time duration; 2190 Ecore_X_Time duration;
3680 Ecore_X_Gesture_Direction direction; 2191 Ecore_X_Gesture_Direction direction;
3681 double angle; 2192 double angle;
3682}; 2193};
3683 2194
3684struct _Ecore_X_Event_Gesture_Notify_Pan 2195struct _Ecore_X_Event_Gesture_Notify_Pan
3685{ 2196{
3686 Ecore_X_Window win; 2197 Ecore_X_Window win;
3687 Ecore_X_Time time; 2198 Ecore_X_Time time;
3688 Ecore_X_Gesture_Event_Subtype subtype; 2199 Ecore_X_Gesture_Event_Subtype subtype;
3689 int num_fingers; 2200 int num_fingers;
3690 int dx; 2201 int dx;
3691 int dy; 2202 int dy;
3692 int distance; 2203 int distance;
3693 Ecore_X_Time duration; 2204 Ecore_X_Time duration;
3694 Ecore_X_Gesture_Direction direction; 2205 Ecore_X_Gesture_Direction direction;
3695}; 2206};
3696 2207
3697struct _Ecore_X_Event_Gesture_Notify_PinchRotation 2208struct _Ecore_X_Event_Gesture_Notify_PinchRotation
3698{ 2209{
3699 Ecore_X_Window win; 2210 Ecore_X_Window win;
3700 Ecore_X_Time time; 2211 Ecore_X_Time time;
3701 Ecore_X_Gesture_Event_Subtype subtype; 2212 Ecore_X_Gesture_Event_Subtype subtype;
3702 int num_fingers; 2213 int num_fingers;
3703 int distance; 2214 int distance;
3704 int cx; 2215 int cx;
3705 int cy; 2216 int cy;
3706 double zoom; 2217 double zoom;
3707 double angle; 2218 double angle;
3708}; 2219};
3709 2220
3710struct _Ecore_X_Event_Gesture_Notify_Tap 2221struct _Ecore_X_Event_Gesture_Notify_Tap
3711{ 2222{
3712 Ecore_X_Window win; 2223 Ecore_X_Window win;
3713 Ecore_X_Time time; 2224 Ecore_X_Time time;
3714 Ecore_X_Gesture_Event_Subtype subtype; 2225 Ecore_X_Gesture_Event_Subtype subtype;
3715 int num_fingers; 2226 int num_fingers;
3716 int cx; 2227 int cx;
3717 int cy; 2228 int cy;
3718 int tap_repeat; 2229 int tap_repeat;
3719 Ecore_X_Time interval; 2230 Ecore_X_Time interval;
3720}; 2231};
3721 2232
3722struct _Ecore_X_Event_Gesture_Notify_TapNHold 2233struct _Ecore_X_Event_Gesture_Notify_TapNHold
3723{ 2234{
3724 Ecore_X_Window win; 2235 Ecore_X_Window win;
3725 Ecore_X_Time time; 2236 Ecore_X_Time time;
3726 Ecore_X_Gesture_Event_Subtype subtype; 2237 Ecore_X_Gesture_Event_Subtype subtype;
3727 int num_fingers; 2238 int num_fingers;
3728 int cx; 2239 int cx;
3729 int cy; 2240 int cy;
3730 Ecore_X_Time interval; 2241 Ecore_X_Time interval;
3731 Ecore_X_Time hold_time; 2242 Ecore_X_Time hold_time;
3732}; 2243};
3733 2244
3734struct _Ecore_X_Event_Gesture_Notify_Hold 2245struct _Ecore_X_Event_Gesture_Notify_Hold
3735{ 2246{
3736 Ecore_X_Window win; 2247 Ecore_X_Window win;
3737 Ecore_X_Time time; 2248 Ecore_X_Time time;
3738 Ecore_X_Gesture_Event_Subtype subtype; 2249 Ecore_X_Gesture_Event_Subtype subtype;
3739 int num_fingers; 2250 int num_fingers;
3740 int cx; 2251 int cx;
3741 int cy; 2252 int cy;
3742 Ecore_X_Time hold_time; 2253 Ecore_X_Time hold_time;
3743}; 2254};
3744 2255
3745struct _Ecore_X_Event_Gesture_Notify_Group 2256struct _Ecore_X_Event_Gesture_Notify_Group
3746{ 2257{
3747 Ecore_X_Window win; 2258 Ecore_X_Window win;
3748 Ecore_X_Time time; 2259 Ecore_X_Time time;
3749 Ecore_X_Gesture_Group_Subtype subtype; 2260 Ecore_X_Gesture_Group_Subtype subtype;
3750 int num_groups; 2261 int num_groups;
3751 int group_id; 2262 int group_id;
3752}; 2263};
3753 2264
3754EAPI Eina_Bool 2265EAPI Eina_Bool ecore_x_gesture_supported(void);
3755ecore_x_gesture_supported(void);
3756 2266
3757EAPI Eina_Bool 2267EAPI Eina_Bool ecore_x_gesture_events_select(Ecore_X_Window win, Ecore_X_Gesture_Event_Mask mask);
3758ecore_x_gesture_events_select(Ecore_X_Window win,
3759 Ecore_X_Gesture_Event_Mask mask);
3760 2268
3761EAPI Ecore_X_Gesture_Event_Mask 2269EAPI Ecore_X_Gesture_Event_Mask ecore_x_gesture_events_selected_get(Ecore_X_Window win);
3762ecore_x_gesture_events_selected_get(Ecore_X_Window win);
3763 2270
3764EAPI Eina_Bool 2271EAPI Eina_Bool ecore_x_gesture_event_grab(Ecore_X_Window win, Ecore_X_Gesture_Event_Type type, int num_fingers);
3765ecore_x_gesture_event_grab(Ecore_X_Window win,
3766 Ecore_X_Gesture_Event_Type type,
3767 int num_fingers);
3768 2272
3769EAPI Eina_Bool 2273EAPI Eina_Bool ecore_x_gesture_event_ungrab(Ecore_X_Window win, Ecore_X_Gesture_Event_Type type, int num_fingers);
3770ecore_x_gesture_event_ungrab(Ecore_X_Window win,
3771 Ecore_X_Gesture_Event_Type type,
3772 int num_fingers);
3773 2274
3774EAPI void 2275EAPI void ecore_x_e_illume_indicator_state_set(Ecore_X_Window win, Ecore_X_Illume_Indicator_State state);
3775ecore_x_e_illume_indicator_state_set(Ecore_X_Window win, 2276EAPI Ecore_X_Illume_Indicator_State ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
3776 Ecore_X_Illume_Indicator_State state); 2277EAPI void ecore_x_e_illume_indicator_state_send(Ecore_X_Window win, Ecore_X_Illume_Indicator_State state);
3777EAPI Ecore_X_Illume_Indicator_State
3778ecore_x_e_illume_indicator_state_get(Ecore_X_Window win);
3779EAPI void
3780ecore_x_e_illume_indicator_state_send(Ecore_X_Window win,
3781 Ecore_X_Illume_Indicator_State state);
3782 2278
3783EAPI void 2279EAPI void ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win, Ecore_X_Illume_Indicator_Opacity_Mode mode);
3784ecore_x_e_illume_indicator_opacity_set(Ecore_X_Window win,
3785 Ecore_X_Illume_Indicator_Opacity_Mode mode);
3786 2280
3787EAPI Ecore_X_Illume_Indicator_Opacity_Mode 2281EAPI Ecore_X_Illume_Indicator_Opacity_Mode ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win);
3788ecore_x_e_illume_indicator_opacity_get(Ecore_X_Window win);
3789 2282
3790EAPI void 2283EAPI void ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win, Ecore_X_Illume_Indicator_Opacity_Mode mode);
3791ecore_x_e_illume_indicator_opacity_send(Ecore_X_Window win,
3792 Ecore_X_Illume_Indicator_Opacity_Mode mode);
3793 2284
3794#ifdef __cplusplus 2285#ifdef __cplusplus
3795} 2286}