diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c | 232 |
1 files changed, 116 insertions, 116 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c index d357c9b..5966bbd 100644 --- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c +++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_e.c | |||
@@ -14,14 +14,14 @@ | |||
14 | EAPI void | 14 | EAPI void |
15 | ecore_x_e_init(void) | 15 | ecore_x_e_init(void) |
16 | { | 16 | { |
17 | } /* ecore_x_e_init */ | 17 | } |
18 | 18 | ||
19 | EAPI void | 19 | EAPI void |
20 | ecore_x_e_frame_size_set(Ecore_X_Window win, | 20 | ecore_x_e_frame_size_set(Ecore_X_Window win, |
21 | int fl, | 21 | int fl, |
22 | int fr, | 22 | int fr, |
23 | int ft, | 23 | int ft, |
24 | int fb) | 24 | int fb) |
25 | { | 25 | { |
26 | unsigned int frames[4]; | 26 | unsigned int frames[4]; |
27 | 27 | ||
@@ -31,16 +31,16 @@ ecore_x_e_frame_size_set(Ecore_X_Window win, | |||
31 | frames[2] = ft; | 31 | frames[2] = ft; |
32 | frames[3] = fb; | 32 | frames[3] = fb; |
33 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_FRAME_SIZE, frames, 4); | 33 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_FRAME_SIZE, frames, 4); |
34 | } /* ecore_x_e_frame_size_set */ | 34 | } |
35 | 35 | ||
36 | EAPI void | 36 | EAPI void |
37 | ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, | 37 | ecore_x_e_virtual_keyboard_set(Ecore_X_Window win, |
38 | unsigned int is_keyboard) | 38 | unsigned int is_keyboard) |
39 | { | 39 | { |
40 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 40 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
41 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD, | 41 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD, |
42 | &is_keyboard, 1); | 42 | &is_keyboard, 1); |
43 | } /* ecore_x_e_virtual_keyboard_set */ | 43 | } |
44 | 44 | ||
45 | EAPI Eina_Bool | 45 | EAPI Eina_Bool |
46 | ecore_x_e_virtual_keyboard_get(Ecore_X_Window win) | 46 | ecore_x_e_virtual_keyboard_get(Ecore_X_Window win) |
@@ -53,7 +53,7 @@ ecore_x_e_virtual_keyboard_get(Ecore_X_Window win) | |||
53 | return EINA_FALSE; | 53 | return EINA_FALSE; |
54 | 54 | ||
55 | return val ? EINA_TRUE : EINA_FALSE; | 55 | return val ? EINA_TRUE : EINA_FALSE; |
56 | } /* ecore_x_e_virtual_keyboard_get */ | 56 | } |
57 | 57 | ||
58 | static Ecore_X_Virtual_Keyboard_State | 58 | static Ecore_X_Virtual_Keyboard_State |
59 | _ecore_x_e_vkbd_state_get(Ecore_X_Atom atom) | 59 | _ecore_x_e_vkbd_state_get(Ecore_X_Atom atom) |
@@ -104,7 +104,7 @@ _ecore_x_e_vkbd_state_get(Ecore_X_Atom atom) | |||
104 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_J2ME; | 104 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_J2ME; |
105 | 105 | ||
106 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN; | 106 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN; |
107 | } /* _ecore_x_e_vkbd_state_get */ | 107 | } |
108 | 108 | ||
109 | static Ecore_X_Atom | 109 | static Ecore_X_Atom |
110 | _ecore_x_e_vkbd_atom_get(Ecore_X_Virtual_Keyboard_State state) | 110 | _ecore_x_e_vkbd_atom_get(Ecore_X_Virtual_Keyboard_State state) |
@@ -157,12 +157,12 @@ _ecore_x_e_vkbd_atom_get(Ecore_X_Virtual_Keyboard_State state) | |||
157 | return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_J2ME; | 157 | return ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_J2ME; |
158 | 158 | ||
159 | default: break; | 159 | default: break; |
160 | } /* switch */ | 160 | } |
161 | return 0; | 161 | return 0; |
162 | } /* _ecore_x_e_vkbd_atom_get */ | 162 | } |
163 | 163 | ||
164 | EAPI void | 164 | EAPI void |
165 | ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, | 165 | ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, |
166 | Ecore_X_Virtual_Keyboard_State state) | 166 | Ecore_X_Virtual_Keyboard_State state) |
167 | { | 167 | { |
168 | Ecore_X_Atom atom = 0; | 168 | Ecore_X_Atom atom = 0; |
@@ -171,7 +171,7 @@ ecore_x_e_virtual_keyboard_state_set(Ecore_X_Window win, | |||
171 | atom = _ecore_x_e_vkbd_atom_get(state); | 171 | atom = _ecore_x_e_vkbd_atom_get(state); |
172 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE, | 172 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD_STATE, |
173 | &atom, 1); | 173 | &atom, 1); |
174 | } /* ecore_x_e_virtual_keyboard_state_set */ | 174 | } |
175 | 175 | ||
176 | EAPI Ecore_X_Virtual_Keyboard_State | 176 | EAPI Ecore_X_Virtual_Keyboard_State |
177 | ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win) | 177 | ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win) |
@@ -184,10 +184,10 @@ ecore_x_e_virtual_keyboard_state_get(Ecore_X_Window win) | |||
184 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN; | 184 | return ECORE_X_VIRTUAL_KEYBOARD_STATE_UNKNOWN; |
185 | 185 | ||
186 | return _ecore_x_e_vkbd_state_get(atom); | 186 | return _ecore_x_e_vkbd_state_get(atom); |
187 | } /* ecore_x_e_virtual_keyboard_state_get */ | 187 | } |
188 | 188 | ||
189 | EAPI void | 189 | EAPI void |
190 | ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, | 190 | ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, |
191 | Ecore_X_Virtual_Keyboard_State state) | 191 | Ecore_X_Virtual_Keyboard_State state) |
192 | { | 192 | { |
193 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 193 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -195,7 +195,7 @@ ecore_x_e_virtual_keyboard_state_send(Ecore_X_Window win, | |||
195 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 195 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
196 | _ecore_x_e_vkbd_atom_get(state), | 196 | _ecore_x_e_vkbd_atom_get(state), |
197 | 0, 0, 0, 0); | 197 | 0, 0, 0, 0); |
198 | } /* ecore_x_e_virtual_keyboard_state_send */ | 198 | } |
199 | 199 | ||
200 | static Ecore_X_Atom | 200 | static Ecore_X_Atom |
201 | _ecore_x_e_illume_atom_get(Ecore_X_Illume_Mode mode) | 201 | _ecore_x_e_illume_atom_get(Ecore_X_Illume_Mode mode) |
@@ -213,9 +213,9 @@ _ecore_x_e_illume_atom_get(Ecore_X_Illume_Mode mode) | |||
213 | 213 | ||
214 | default: | 214 | default: |
215 | break; | 215 | break; |
216 | } /* switch */ | 216 | } |
217 | return ECORE_X_ILLUME_MODE_UNKNOWN; | 217 | return ECORE_X_ILLUME_MODE_UNKNOWN; |
218 | } /* _ecore_x_e_illume_atom_get */ | 218 | } |
219 | 219 | ||
220 | static Ecore_X_Illume_Mode | 220 | static Ecore_X_Illume_Mode |
221 | _ecore_x_e_illume_mode_get(Ecore_X_Atom atom) | 221 | _ecore_x_e_illume_mode_get(Ecore_X_Atom atom) |
@@ -230,7 +230,7 @@ _ecore_x_e_illume_mode_get(Ecore_X_Atom atom) | |||
230 | return ECORE_X_ILLUME_MODE_DUAL_LEFT; | 230 | return ECORE_X_ILLUME_MODE_DUAL_LEFT; |
231 | 231 | ||
232 | return ECORE_X_ILLUME_MODE_UNKNOWN; | 232 | return ECORE_X_ILLUME_MODE_UNKNOWN; |
233 | } /* _ecore_x_e_illume_mode_get */ | 233 | } |
234 | 234 | ||
235 | EAPI void | 235 | EAPI void |
236 | ecore_x_e_illume_zone_set(Ecore_X_Window win, | 236 | ecore_x_e_illume_zone_set(Ecore_X_Window win, |
@@ -239,7 +239,7 @@ ecore_x_e_illume_zone_set(Ecore_X_Window win, | |||
239 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 239 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
240 | ecore_x_window_prop_window_set(win, ECORE_X_ATOM_E_ILLUME_ZONE, | 240 | ecore_x_window_prop_window_set(win, ECORE_X_ATOM_E_ILLUME_ZONE, |
241 | &zone, 1); | 241 | &zone, 1); |
242 | } /* ecore_x_e_illume_zone_set */ | 242 | } |
243 | 243 | ||
244 | EAPI Ecore_X_Window | 244 | EAPI Ecore_X_Window |
245 | ecore_x_e_illume_zone_get(Ecore_X_Window win) | 245 | ecore_x_e_illume_zone_get(Ecore_X_Window win) |
@@ -252,26 +252,26 @@ ecore_x_e_illume_zone_get(Ecore_X_Window win) | |||
252 | return 0; | 252 | return 0; |
253 | 253 | ||
254 | return zone; | 254 | return zone; |
255 | } /* ecore_x_e_illume_zone_get */ | 255 | } |
256 | 256 | ||
257 | EAPI void | 257 | EAPI void |
258 | ecore_x_e_illume_zone_list_set(Ecore_X_Window win, | 258 | ecore_x_e_illume_zone_list_set(Ecore_X_Window win, |
259 | Ecore_X_Window *zones, | 259 | Ecore_X_Window *zones, |
260 | unsigned int n_zones) | 260 | unsigned int n_zones) |
261 | { | 261 | { |
262 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 262 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
263 | ecore_x_window_prop_window_set(win, ECORE_X_ATOM_E_ILLUME_ZONE_LIST, | 263 | ecore_x_window_prop_window_set(win, ECORE_X_ATOM_E_ILLUME_ZONE_LIST, |
264 | zones, n_zones); | 264 | zones, n_zones); |
265 | } /* ecore_x_e_illume_zone_list_set */ | 265 | } |
266 | 266 | ||
267 | EAPI void | 267 | EAPI void |
268 | ecore_x_e_illume_conformant_set(Ecore_X_Window win, | 268 | ecore_x_e_illume_conformant_set(Ecore_X_Window win, |
269 | unsigned int is_conformant) | 269 | unsigned int is_conformant) |
270 | { | 270 | { |
271 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 271 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
272 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, | 272 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_CONFORMANT, |
273 | &is_conformant, 1); | 273 | &is_conformant, 1); |
274 | } /* ecore_x_e_illume_conformant_set */ | 274 | } |
275 | 275 | ||
276 | EAPI Eina_Bool | 276 | EAPI Eina_Bool |
277 | ecore_x_e_illume_conformant_get(Ecore_X_Window win) | 277 | ecore_x_e_illume_conformant_get(Ecore_X_Window win) |
@@ -284,10 +284,10 @@ ecore_x_e_illume_conformant_get(Ecore_X_Window win) | |||
284 | return EINA_FALSE; | 284 | return EINA_FALSE; |
285 | 285 | ||
286 | return val ? EINA_TRUE : EINA_FALSE; | 286 | return val ? EINA_TRUE : EINA_FALSE; |
287 | } /* ecore_x_e_illume_conformant_get */ | 287 | } |
288 | 288 | ||
289 | EAPI void | 289 | EAPI void |
290 | ecore_x_e_illume_mode_set(Ecore_X_Window win, | 290 | ecore_x_e_illume_mode_set(Ecore_X_Window win, |
291 | Ecore_X_Illume_Mode mode) | 291 | Ecore_X_Illume_Mode mode) |
292 | { | 292 | { |
293 | Ecore_X_Atom atom = 0; | 293 | Ecore_X_Atom atom = 0; |
@@ -296,7 +296,7 @@ ecore_x_e_illume_mode_set(Ecore_X_Window win, | |||
296 | atom = _ecore_x_e_illume_atom_get(mode); | 296 | atom = _ecore_x_e_illume_atom_get(mode); |
297 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_MODE, | 297 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_MODE, |
298 | &atom, 1); | 298 | &atom, 1); |
299 | } /* ecore_x_e_illume_mode_set */ | 299 | } |
300 | 300 | ||
301 | EAPI Ecore_X_Illume_Mode | 301 | EAPI Ecore_X_Illume_Mode |
302 | ecore_x_e_illume_mode_get(Ecore_X_Window win) | 302 | ecore_x_e_illume_mode_get(Ecore_X_Window win) |
@@ -308,10 +308,10 @@ ecore_x_e_illume_mode_get(Ecore_X_Window win) | |||
308 | return ECORE_X_ILLUME_MODE_UNKNOWN; | 308 | return ECORE_X_ILLUME_MODE_UNKNOWN; |
309 | 309 | ||
310 | return _ecore_x_e_illume_mode_get(atom); | 310 | return _ecore_x_e_illume_mode_get(atom); |
311 | } /* ecore_x_e_illume_mode_get */ | 311 | } |
312 | 312 | ||
313 | EAPI void | 313 | EAPI void |
314 | ecore_x_e_illume_mode_send(Ecore_X_Window win, | 314 | ecore_x_e_illume_mode_send(Ecore_X_Window win, |
315 | Ecore_X_Illume_Mode mode) | 315 | Ecore_X_Illume_Mode mode) |
316 | { | 316 | { |
317 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 317 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -319,7 +319,7 @@ ecore_x_e_illume_mode_send(Ecore_X_Window win, | |||
319 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 319 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
320 | _ecore_x_e_illume_atom_get(mode), | 320 | _ecore_x_e_illume_atom_get(mode), |
321 | 0, 0, 0, 0); | 321 | 0, 0, 0, 0); |
322 | } /* ecore_x_e_illume_mode_send */ | 322 | } |
323 | 323 | ||
324 | EAPI void | 324 | EAPI void |
325 | ecore_x_e_illume_focus_back_send(Ecore_X_Window win) | 325 | ecore_x_e_illume_focus_back_send(Ecore_X_Window win) |
@@ -328,7 +328,7 @@ ecore_x_e_illume_focus_back_send(Ecore_X_Window win) | |||
328 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_BACK, | 328 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_BACK, |
329 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 329 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
330 | 1, 0, 0, 0, 0); | 330 | 1, 0, 0, 0, 0); |
331 | } /* ecore_x_e_illume_focus_back_send */ | 331 | } |
332 | 332 | ||
333 | EAPI void | 333 | EAPI void |
334 | ecore_x_e_illume_focus_forward_send(Ecore_X_Window win) | 334 | ecore_x_e_illume_focus_forward_send(Ecore_X_Window win) |
@@ -337,7 +337,7 @@ ecore_x_e_illume_focus_forward_send(Ecore_X_Window win) | |||
337 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_FORWARD, | 337 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_FORWARD, |
338 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 338 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
339 | 1, 0, 0, 0, 0); | 339 | 1, 0, 0, 0, 0); |
340 | } /* ecore_x_e_illume_focus_forward_send */ | 340 | } |
341 | 341 | ||
342 | EAPI void | 342 | EAPI void |
343 | ecore_x_e_illume_focus_home_send(Ecore_X_Window win) | 343 | ecore_x_e_illume_focus_home_send(Ecore_X_Window win) |
@@ -346,7 +346,7 @@ ecore_x_e_illume_focus_home_send(Ecore_X_Window win) | |||
346 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_HOME, | 346 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_FOCUS_HOME, |
347 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 347 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
348 | 1, 0, 0, 0, 0); | 348 | 1, 0, 0, 0, 0); |
349 | } /* ecore_x_e_illume_focus_home_send */ | 349 | } |
350 | 350 | ||
351 | EAPI void | 351 | EAPI void |
352 | ecore_x_e_illume_close_send(Ecore_X_Window win) | 352 | ecore_x_e_illume_close_send(Ecore_X_Window win) |
@@ -355,7 +355,7 @@ ecore_x_e_illume_close_send(Ecore_X_Window win) | |||
355 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_CLOSE, | 355 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_CLOSE, |
356 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 356 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
357 | 1, 0, 0, 0, 0); | 357 | 1, 0, 0, 0, 0); |
358 | } /* ecore_x_e_illume_close_send */ | 358 | } |
359 | 359 | ||
360 | EAPI void | 360 | EAPI void |
361 | ecore_x_e_illume_home_new_send(Ecore_X_Window win) | 361 | ecore_x_e_illume_home_new_send(Ecore_X_Window win) |
@@ -364,7 +364,7 @@ ecore_x_e_illume_home_new_send(Ecore_X_Window win) | |||
364 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_HOME_NEW, | 364 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_HOME_NEW, |
365 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 365 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
366 | 1, 0, 0, 0, 0); | 366 | 1, 0, 0, 0, 0); |
367 | } /* ecore_x_e_illume_home_new_send */ | 367 | } |
368 | 368 | ||
369 | EAPI void | 369 | EAPI void |
370 | ecore_x_e_illume_home_del_send(Ecore_X_Window win) | 370 | ecore_x_e_illume_home_del_send(Ecore_X_Window win) |
@@ -373,15 +373,15 @@ ecore_x_e_illume_home_del_send(Ecore_X_Window win) | |||
373 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_HOME_DEL, | 373 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_HOME_DEL, |
374 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 374 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
375 | 1, 0, 0, 0, 0); | 375 | 1, 0, 0, 0, 0); |
376 | } /* ecore_x_e_illume_home_del_send */ | 376 | } |
377 | 377 | ||
378 | EAPI void | 378 | EAPI void |
379 | ecore_x_e_illume_drag_set(Ecore_X_Window win, | 379 | ecore_x_e_illume_drag_set(Ecore_X_Window win, |
380 | unsigned int drag) | 380 | unsigned int drag) |
381 | { | 381 | { |
382 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 382 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
383 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_DRAG, &drag, 1); | 383 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_DRAG, &drag, 1); |
384 | } /* ecore_x_e_illume_drag_set */ | 384 | } |
385 | 385 | ||
386 | EAPI Eina_Bool | 386 | EAPI Eina_Bool |
387 | ecore_x_e_illume_drag_get(Ecore_X_Window win) | 387 | ecore_x_e_illume_drag_get(Ecore_X_Window win) |
@@ -393,16 +393,16 @@ ecore_x_e_illume_drag_get(Ecore_X_Window win) | |||
393 | return EINA_FALSE; | 393 | return EINA_FALSE; |
394 | 394 | ||
395 | return val ? EINA_TRUE : EINA_FALSE; | 395 | return val ? EINA_TRUE : EINA_FALSE; |
396 | } /* ecore_x_e_illume_drag_get */ | 396 | } |
397 | 397 | ||
398 | EAPI void | 398 | EAPI void |
399 | ecore_x_e_illume_drag_locked_set(Ecore_X_Window win, | 399 | ecore_x_e_illume_drag_locked_set(Ecore_X_Window win, |
400 | unsigned int is_locked) | 400 | unsigned int is_locked) |
401 | { | 401 | { |
402 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 402 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
403 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_DRAG_LOCKED, | 403 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_DRAG_LOCKED, |
404 | &is_locked, 1); | 404 | &is_locked, 1); |
405 | } /* ecore_x_e_illume_drag_locked_set */ | 405 | } |
406 | 406 | ||
407 | EAPI Eina_Bool | 407 | EAPI Eina_Bool |
408 | ecore_x_e_illume_drag_locked_get(Ecore_X_Window win) | 408 | ecore_x_e_illume_drag_locked_get(Ecore_X_Window win) |
@@ -415,7 +415,7 @@ ecore_x_e_illume_drag_locked_get(Ecore_X_Window win) | |||
415 | return EINA_FALSE; | 415 | return EINA_FALSE; |
416 | 416 | ||
417 | return val ? EINA_TRUE : EINA_FALSE; | 417 | return val ? EINA_TRUE : EINA_FALSE; |
418 | } /* ecore_x_e_illume_drag_locked_get */ | 418 | } |
419 | 419 | ||
420 | EAPI void | 420 | EAPI void |
421 | ecore_x_e_illume_drag_start_send(Ecore_X_Window win) | 421 | ecore_x_e_illume_drag_start_send(Ecore_X_Window win) |
@@ -424,7 +424,7 @@ ecore_x_e_illume_drag_start_send(Ecore_X_Window win) | |||
424 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_DRAG_START, | 424 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_DRAG_START, |
425 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 425 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
426 | 1, 0, 0, 0, 0); | 426 | 1, 0, 0, 0, 0); |
427 | } /* ecore_x_e_illume_drag_start_send */ | 427 | } |
428 | 428 | ||
429 | EAPI void | 429 | EAPI void |
430 | ecore_x_e_illume_drag_end_send(Ecore_X_Window win) | 430 | ecore_x_e_illume_drag_end_send(Ecore_X_Window win) |
@@ -433,14 +433,14 @@ ecore_x_e_illume_drag_end_send(Ecore_X_Window win) | |||
433 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_DRAG_END, | 433 | ecore_x_client_message32_send(win, ECORE_X_ATOM_E_ILLUME_DRAG_END, |
434 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 434 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
435 | 1, 0, 0, 0, 0); | 435 | 1, 0, 0, 0, 0); |
436 | } /* ecore_x_e_illume_drag_end_send */ | 436 | } |
437 | 437 | ||
438 | EAPI void | 438 | EAPI void |
439 | ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, | 439 | ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, |
440 | int x, | 440 | int x, |
441 | int y, | 441 | int y, |
442 | int w, | 442 | int w, |
443 | int h) | 443 | int h) |
444 | { | 444 | { |
445 | unsigned int geom[4]; | 445 | unsigned int geom[4]; |
446 | 446 | ||
@@ -451,14 +451,14 @@ ecore_x_e_illume_indicator_geometry_set(Ecore_X_Window win, | |||
451 | geom[3] = h; | 451 | geom[3] = h; |
452 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_GEOMETRY, | 452 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_INDICATOR_GEOMETRY, |
453 | geom, 4); | 453 | geom, 4); |
454 | } /* ecore_x_e_illume_indicator_geometry_set */ | 454 | } |
455 | 455 | ||
456 | EAPI Eina_Bool | 456 | EAPI Eina_Bool |
457 | ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, | 457 | ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, |
458 | int *x, | 458 | int *x, |
459 | int *y, | 459 | int *y, |
460 | int *w, | 460 | int *w, |
461 | int *h) | 461 | int *h) |
462 | { | 462 | { |
463 | int ret = 0; | 463 | int ret = 0; |
464 | unsigned int geom[4]; | 464 | unsigned int geom[4]; |
@@ -484,14 +484,14 @@ ecore_x_e_illume_indicator_geometry_get(Ecore_X_Window win, | |||
484 | *h = geom[3]; | 484 | *h = geom[3]; |
485 | 485 | ||
486 | return EINA_TRUE; | 486 | return EINA_TRUE; |
487 | } /* ecore_x_e_illume_indicator_geometry_get */ | 487 | } |
488 | 488 | ||
489 | EAPI void | 489 | EAPI void |
490 | ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, | 490 | ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, |
491 | int x, | 491 | int x, |
492 | int y, | 492 | int y, |
493 | int w, | 493 | int w, |
494 | int h) | 494 | int h) |
495 | { | 495 | { |
496 | unsigned int geom[4]; | 496 | unsigned int geom[4]; |
497 | 497 | ||
@@ -502,14 +502,14 @@ ecore_x_e_illume_softkey_geometry_set(Ecore_X_Window win, | |||
502 | geom[3] = h; | 502 | geom[3] = h; |
503 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_SOFTKEY_GEOMETRY, | 503 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_SOFTKEY_GEOMETRY, |
504 | geom, 4); | 504 | geom, 4); |
505 | } /* ecore_x_e_illume_softkey_geometry_set */ | 505 | } |
506 | 506 | ||
507 | EAPI Eina_Bool | 507 | EAPI Eina_Bool |
508 | ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, | 508 | ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, |
509 | int *x, | 509 | int *x, |
510 | int *y, | 510 | int *y, |
511 | int *w, | 511 | int *w, |
512 | int *h) | 512 | int *h) |
513 | { | 513 | { |
514 | int ret = 0; | 514 | int ret = 0; |
515 | unsigned int geom[4]; | 515 | unsigned int geom[4]; |
@@ -535,14 +535,14 @@ ecore_x_e_illume_softkey_geometry_get(Ecore_X_Window win, | |||
535 | *h = geom[3]; | 535 | *h = geom[3]; |
536 | 536 | ||
537 | return EINA_TRUE; | 537 | return EINA_TRUE; |
538 | } /* ecore_x_e_illume_softkey_geometry_get */ | 538 | } |
539 | 539 | ||
540 | EAPI void | 540 | EAPI void |
541 | ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, | 541 | ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, |
542 | int x, | 542 | int x, |
543 | int y, | 543 | int y, |
544 | int w, | 544 | int w, |
545 | int h) | 545 | int h) |
546 | { | 546 | { |
547 | unsigned int geom[4]; | 547 | unsigned int geom[4]; |
548 | 548 | ||
@@ -553,14 +553,14 @@ ecore_x_e_illume_keyboard_geometry_set(Ecore_X_Window win, | |||
553 | geom[3] = h; | 553 | geom[3] = h; |
554 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_KEYBOARD_GEOMETRY, | 554 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_KEYBOARD_GEOMETRY, |
555 | geom, 4); | 555 | geom, 4); |
556 | } /* ecore_x_e_illume_keyboard_geometry_set */ | 556 | } |
557 | 557 | ||
558 | EAPI Eina_Bool | 558 | EAPI Eina_Bool |
559 | ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, | 559 | ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, |
560 | int *x, | 560 | int *x, |
561 | int *y, | 561 | int *y, |
562 | int *w, | 562 | int *w, |
563 | int *h) | 563 | int *h) |
564 | { | 564 | { |
565 | int ret = 0; | 565 | int ret = 0; |
566 | unsigned int geom[4]; | 566 | unsigned int geom[4]; |
@@ -586,7 +586,7 @@ ecore_x_e_illume_keyboard_geometry_get(Ecore_X_Window win, | |||
586 | *h = geom[3]; | 586 | *h = geom[3]; |
587 | 587 | ||
588 | return EINA_TRUE; | 588 | return EINA_TRUE; |
589 | } /* ecore_x_e_illume_keyboard_geometry_get */ | 589 | } |
590 | 590 | ||
591 | static Ecore_X_Atom | 591 | static Ecore_X_Atom |
592 | _ecore_x_e_quickpanel_atom_get(Ecore_X_Illume_Quickpanel_State state) | 592 | _ecore_x_e_quickpanel_atom_get(Ecore_X_Illume_Quickpanel_State state) |
@@ -601,9 +601,9 @@ _ecore_x_e_quickpanel_atom_get(Ecore_X_Illume_Quickpanel_State state) | |||
601 | 601 | ||
602 | default: | 602 | default: |
603 | break; | 603 | break; |
604 | } /* switch */ | 604 | } |
605 | return 0; | 605 | return 0; |
606 | } /* _ecore_x_e_quickpanel_atom_get */ | 606 | } |
607 | 607 | ||
608 | static Ecore_X_Illume_Quickpanel_State | 608 | static Ecore_X_Illume_Quickpanel_State |
609 | _ecore_x_e_quickpanel_state_get(Ecore_X_Atom atom) | 609 | _ecore_x_e_quickpanel_state_get(Ecore_X_Atom atom) |
@@ -615,16 +615,16 @@ _ecore_x_e_quickpanel_state_get(Ecore_X_Atom atom) | |||
615 | return ECORE_X_ILLUME_QUICKPANEL_STATE_OFF; | 615 | return ECORE_X_ILLUME_QUICKPANEL_STATE_OFF; |
616 | 616 | ||
617 | return ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN; | 617 | return ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN; |
618 | } /* _ecore_x_e_quickpanel_state_get */ | 618 | } |
619 | 619 | ||
620 | EAPI void | 620 | EAPI void |
621 | ecore_x_e_illume_quickpanel_set(Ecore_X_Window win, | 621 | ecore_x_e_illume_quickpanel_set(Ecore_X_Window win, |
622 | unsigned int is_quickpanel) | 622 | unsigned int is_quickpanel) |
623 | { | 623 | { |
624 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 624 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
625 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL, | 625 | ecore_x_window_prop_card32_set(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL, |
626 | &is_quickpanel, 1); | 626 | &is_quickpanel, 1); |
627 | } /* ecore_x_e_illume_quickpanel_set */ | 627 | } |
628 | 628 | ||
629 | EAPI Eina_Bool | 629 | EAPI Eina_Bool |
630 | ecore_x_e_illume_quickpanel_get(Ecore_X_Window win) | 630 | ecore_x_e_illume_quickpanel_get(Ecore_X_Window win) |
@@ -637,10 +637,10 @@ ecore_x_e_illume_quickpanel_get(Ecore_X_Window win) | |||
637 | return EINA_FALSE; | 637 | return EINA_FALSE; |
638 | 638 | ||
639 | return val ? EINA_TRUE : EINA_FALSE; | 639 | return val ? EINA_TRUE : EINA_FALSE; |
640 | } /* ecore_x_e_illume_quickpanel_get */ | 640 | } |
641 | 641 | ||
642 | EAPI void | 642 | EAPI void |
643 | ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win, | 643 | ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win, |
644 | Ecore_X_Illume_Quickpanel_State state) | 644 | Ecore_X_Illume_Quickpanel_State state) |
645 | { | 645 | { |
646 | Ecore_X_Atom atom = 0; | 646 | Ecore_X_Atom atom = 0; |
@@ -649,7 +649,7 @@ ecore_x_e_illume_quickpanel_state_set(Ecore_X_Window win, | |||
649 | atom = _ecore_x_e_quickpanel_atom_get(state); | 649 | atom = _ecore_x_e_quickpanel_atom_get(state); |
650 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL_STATE, | 650 | ecore_x_window_prop_atom_set(win, ECORE_X_ATOM_E_ILLUME_QUICKPANEL_STATE, |
651 | &atom, 1); | 651 | &atom, 1); |
652 | } /* ecore_x_e_illume_quickpanel_state_set */ | 652 | } |
653 | 653 | ||
654 | EAPI Ecore_X_Illume_Quickpanel_State | 654 | EAPI Ecore_X_Illume_Quickpanel_State |
655 | ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win) | 655 | ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win) |
@@ -663,10 +663,10 @@ ecore_x_e_illume_quickpanel_state_get(Ecore_X_Window win) | |||
663 | return ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN; | 663 | return ECORE_X_ILLUME_QUICKPANEL_STATE_UNKNOWN; |
664 | 664 | ||
665 | return _ecore_x_e_quickpanel_state_get(atom); | 665 | return _ecore_x_e_quickpanel_state_get(atom); |
666 | } /* ecore_x_e_illume_quickpanel_state_get */ | 666 | } |
667 | 667 | ||
668 | EAPI void | 668 | EAPI void |
669 | ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win, | 669 | ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win, |
670 | Ecore_X_Illume_Quickpanel_State state) | 670 | Ecore_X_Illume_Quickpanel_State state) |
671 | { | 671 | { |
672 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 672 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -674,7 +674,7 @@ ecore_x_e_illume_quickpanel_state_send(Ecore_X_Window win, | |||
674 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 674 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
675 | _ecore_x_e_quickpanel_atom_get(state), | 675 | _ecore_x_e_quickpanel_atom_get(state), |
676 | 0, 0, 0, 0); | 676 | 0, 0, 0, 0); |
677 | } /* ecore_x_e_illume_quickpanel_state_send */ | 677 | } |
678 | 678 | ||
679 | EAPI void | 679 | EAPI void |
680 | ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win) | 680 | ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win) |
@@ -684,17 +684,17 @@ ecore_x_e_illume_quickpanel_state_toggle(Ecore_X_Window win) | |||
684 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_STATE_TOGGLE, | 684 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_STATE_TOGGLE, |
685 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 685 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
686 | 0, 0, 0, 0, 0); | 686 | 0, 0, 0, 0, 0); |
687 | } /* ecore_x_e_illume_quickpanel_state_toggle */ | 687 | } |
688 | 688 | ||
689 | EAPI void | 689 | EAPI void |
690 | ecore_x_e_illume_quickpanel_priority_major_set(Ecore_X_Window win, | 690 | ecore_x_e_illume_quickpanel_priority_major_set(Ecore_X_Window win, |
691 | unsigned int priority) | 691 | unsigned int priority) |
692 | { | 692 | { |
693 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 693 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
694 | ecore_x_window_prop_card32_set(win, | 694 | ecore_x_window_prop_card32_set(win, |
695 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MAJOR, | 695 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MAJOR, |
696 | &priority, 1); | 696 | &priority, 1); |
697 | } /* ecore_x_e_illume_quickpanel_priority_major_set */ | 697 | } |
698 | 698 | ||
699 | EAPI int | 699 | EAPI int |
700 | ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win) | 700 | ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win) |
@@ -708,17 +708,17 @@ ecore_x_e_illume_quickpanel_priority_major_get(Ecore_X_Window win) | |||
708 | return 0; | 708 | return 0; |
709 | 709 | ||
710 | return val; | 710 | return val; |
711 | } /* ecore_x_e_illume_quickpanel_priority_major_get */ | 711 | } |
712 | 712 | ||
713 | EAPI void | 713 | EAPI void |
714 | ecore_x_e_illume_quickpanel_priority_minor_set(Ecore_X_Window win, | 714 | ecore_x_e_illume_quickpanel_priority_minor_set(Ecore_X_Window win, |
715 | unsigned int priority) | 715 | unsigned int priority) |
716 | { | 716 | { |
717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
718 | ecore_x_window_prop_card32_set(win, | 718 | ecore_x_window_prop_card32_set(win, |
719 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR, | 719 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_PRIORITY_MINOR, |
720 | &priority, 1); | 720 | &priority, 1); |
721 | } /* ecore_x_e_illume_quickpanel_priority_minor_set */ | 721 | } |
722 | 722 | ||
723 | EAPI int | 723 | EAPI int |
724 | ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win) | 724 | ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win) |
@@ -732,17 +732,17 @@ ecore_x_e_illume_quickpanel_priority_minor_get(Ecore_X_Window win) | |||
732 | return 0; | 732 | return 0; |
733 | 733 | ||
734 | return val; | 734 | return val; |
735 | } /* ecore_x_e_illume_quickpanel_priority_minor_get */ | 735 | } |
736 | 736 | ||
737 | EAPI void | 737 | EAPI void |
738 | ecore_x_e_illume_quickpanel_zone_set(Ecore_X_Window win, | 738 | ecore_x_e_illume_quickpanel_zone_set(Ecore_X_Window win, |
739 | unsigned int zone) | 739 | unsigned int zone) |
740 | { | 740 | { |
741 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 741 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
742 | ecore_x_window_prop_card32_set(win, | 742 | ecore_x_window_prop_card32_set(win, |
743 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE, | 743 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_ZONE, |
744 | &zone, 1); | 744 | &zone, 1); |
745 | } /* ecore_x_e_illume_quickpanel_zone_set */ | 745 | } |
746 | 746 | ||
747 | EAPI int | 747 | EAPI int |
748 | ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win) | 748 | ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win) |
@@ -756,7 +756,7 @@ ecore_x_e_illume_quickpanel_zone_get(Ecore_X_Window win) | |||
756 | return 0; | 756 | return 0; |
757 | 757 | ||
758 | return val; | 758 | return val; |
759 | } /* ecore_x_e_illume_quickpanel_zone_get */ | 759 | } |
760 | 760 | ||
761 | EAPI void | 761 | EAPI void |
762 | ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win) | 762 | ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win) |
@@ -766,10 +766,10 @@ ecore_x_e_illume_quickpanel_position_update_send(Ecore_X_Window win) | |||
766 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE, | 766 | ECORE_X_ATOM_E_ILLUME_QUICKPANEL_POSITION_UPDATE, |
767 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, | 767 | ECORE_X_EVENT_MASK_WINDOW_CONFIGURE, |
768 | 1, 0, 0, 0, 0); | 768 | 1, 0, 0, 0, 0); |
769 | } /* ecore_x_e_illume_quickpanel_position_update_send */ | 769 | } |
770 | 770 | ||
771 | EAPI void | 771 | EAPI void |
772 | ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, | 772 | ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, |
773 | Ecore_X_Sync_Counter counter) | 773 | Ecore_X_Sync_Counter counter) |
774 | { | 774 | { |
775 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 775 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -778,7 +778,7 @@ ecore_x_e_comp_sync_counter_set(Ecore_X_Window win, | |||
778 | ECORE_X_ATOM_CARDINAL, &counter, 1); | 778 | ECORE_X_ATOM_CARDINAL, &counter, 1); |
779 | else | 779 | else |
780 | ecore_x_window_prop_property_del(win, ECORE_X_ATOM_E_COMP_SYNC_COUNTER); | 780 | ecore_x_window_prop_property_del(win, ECORE_X_ATOM_E_COMP_SYNC_COUNTER); |
781 | } /* ecore_x_e_comp_sync_counter_set */ | 781 | } |
782 | 782 | ||
783 | EAPI Ecore_X_Sync_Counter | 783 | EAPI Ecore_X_Sync_Counter |
784 | ecore_x_e_comp_sync_counter_get(Ecore_X_Window win) | 784 | ecore_x_e_comp_sync_counter_get(Ecore_X_Window win) |
@@ -796,7 +796,7 @@ ecore_x_e_comp_sync_counter_get(Ecore_X_Window win) | |||
796 | return 0; | 796 | return 0; |
797 | 797 | ||
798 | return counter; | 798 | return counter; |
799 | } /* ecore_x_e_comp_sync_counter_get */ | 799 | } |
800 | 800 | ||
801 | EAPI void | 801 | EAPI void |
802 | ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, | 802 | ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, |
@@ -822,13 +822,13 @@ ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, | |||
822 | XSendEvent(_ecore_x_disp, root, False, | 822 | XSendEvent(_ecore_x_disp, root, False, |
823 | SubstructureRedirectMask | SubstructureNotifyMask, | 823 | SubstructureRedirectMask | SubstructureNotifyMask, |
824 | &xev); | 824 | &xev); |
825 | } /* ecore_x_e_comp_sync_draw_done_send */ | 825 | } |
826 | 826 | ||
827 | EAPI void | 827 | EAPI void |
828 | ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root, | 828 | ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root, |
829 | Ecore_X_Window win, | 829 | Ecore_X_Window win, |
830 | int w, | 830 | int w, |
831 | int h) | 831 | int h) |
832 | { | 832 | { |
833 | XEvent xev; | 833 | XEvent xev; |
834 | 834 | ||
@@ -850,11 +850,11 @@ ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root, | |||
850 | XSendEvent(_ecore_x_disp, root, False, | 850 | XSendEvent(_ecore_x_disp, root, False, |
851 | SubstructureRedirectMask | SubstructureNotifyMask, | 851 | SubstructureRedirectMask | SubstructureNotifyMask, |
852 | &xev); | 852 | &xev); |
853 | } /* ecore_x_e_comp_sync_draw_done_send */ | 853 | } |
854 | 854 | ||
855 | EAPI void | 855 | EAPI void |
856 | ecore_x_e_comp_sync_supported_set(Ecore_X_Window root, | 856 | ecore_x_e_comp_sync_supported_set(Ecore_X_Window root, |
857 | Eina_Bool enabled) | 857 | Eina_Bool enabled) |
858 | { | 858 | { |
859 | Ecore_X_Window win; | 859 | Ecore_X_Window win; |
860 | 860 | ||
@@ -887,7 +887,7 @@ ecore_x_e_comp_sync_supported_set(Ecore_X_Window root, | |||
887 | ecore_x_window_free(win); | 887 | ecore_x_window_free(win); |
888 | } | 888 | } |
889 | } | 889 | } |
890 | } /* ecore_x_e_comp_sync_supported_set */ | 890 | } |
891 | 891 | ||
892 | EAPI Eina_Bool | 892 | EAPI Eina_Bool |
893 | ecore_x_e_comp_sync_supported_get(Ecore_X_Window root) | 893 | ecore_x_e_comp_sync_supported_get(Ecore_X_Window root) |
@@ -916,7 +916,7 @@ ecore_x_e_comp_sync_supported_get(Ecore_X_Window root) | |||
916 | } | 916 | } |
917 | 917 | ||
918 | return EINA_FALSE; | 918 | return EINA_FALSE; |
919 | } /* ecore_x_e_comp_sync_supported_get */ | 919 | } |
920 | 920 | ||
921 | EAPI void | 921 | EAPI void |
922 | ecore_x_e_comp_sync_begin_send(Ecore_X_Window win) | 922 | ecore_x_e_comp_sync_begin_send(Ecore_X_Window win) |
@@ -938,7 +938,7 @@ ecore_x_e_comp_sync_begin_send(Ecore_X_Window win) | |||
938 | XSendEvent(_ecore_x_disp, win, False, | 938 | XSendEvent(_ecore_x_disp, win, False, |
939 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, | 939 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, |
940 | &xev); | 940 | &xev); |
941 | } /* ecore_x_e_comp_sync_begin_send */ | 941 | } |
942 | 942 | ||
943 | EAPI void | 943 | EAPI void |
944 | ecore_x_e_comp_sync_end_send(Ecore_X_Window win) | 944 | ecore_x_e_comp_sync_end_send(Ecore_X_Window win) |
@@ -960,7 +960,7 @@ ecore_x_e_comp_sync_end_send(Ecore_X_Window win) | |||
960 | XSendEvent(_ecore_x_disp, win, False, | 960 | XSendEvent(_ecore_x_disp, win, False, |
961 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, | 961 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, |
962 | &xev); | 962 | &xev); |
963 | } /* ecore_x_e_comp_sync_end_send */ | 963 | } |
964 | 964 | ||
965 | EAPI void | 965 | EAPI void |
966 | ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win) | 966 | ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win) |
@@ -982,7 +982,7 @@ ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win) | |||
982 | XSendEvent(_ecore_x_disp, win, False, | 982 | XSendEvent(_ecore_x_disp, win, False, |
983 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, | 983 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, |
984 | &xev); | 984 | &xev); |
985 | } /* ecore_x_e_comp_sync_cancel_send */ | 985 | } |
986 | 986 | ||
987 | EAPI void | 987 | EAPI void |
988 | ecore_x_e_comp_flush_send(Ecore_X_Window win) | 988 | ecore_x_e_comp_flush_send(Ecore_X_Window win) |
@@ -1004,7 +1004,7 @@ ecore_x_e_comp_flush_send(Ecore_X_Window win) | |||
1004 | XSendEvent(_ecore_x_disp, win, False, | 1004 | XSendEvent(_ecore_x_disp, win, False, |
1005 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, | 1005 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, |
1006 | &xev); | 1006 | &xev); |
1007 | } /* ecore_x_e_comp_flush_send */ | 1007 | } |
1008 | 1008 | ||
1009 | EAPI void | 1009 | EAPI void |
1010 | ecore_x_e_comp_dump_send(Ecore_X_Window win) | 1010 | ecore_x_e_comp_dump_send(Ecore_X_Window win) |
@@ -1026,7 +1026,7 @@ ecore_x_e_comp_dump_send(Ecore_X_Window win) | |||
1026 | XSendEvent(_ecore_x_disp, win, False, | 1026 | XSendEvent(_ecore_x_disp, win, False, |
1027 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, | 1027 | NoEventMask, //SubstructureRedirectMask | SubstructureNotifyMask, |
1028 | &xev); | 1028 | &xev); |
1029 | } /* ecore_x_e_comp_dump_send */ | 1029 | } |
1030 | 1030 | ||
1031 | EAPI void | 1031 | EAPI void |
1032 | ecore_x_e_comp_pixmap_set(Ecore_X_Window win, | 1032 | ecore_x_e_comp_pixmap_set(Ecore_X_Window win, |
@@ -1038,7 +1038,7 @@ ecore_x_e_comp_pixmap_set(Ecore_X_Window win, | |||
1038 | ECORE_X_ATOM_PIXMAP, &pixmap, 1); | 1038 | ECORE_X_ATOM_PIXMAP, &pixmap, 1); |
1039 | else | 1039 | else |
1040 | ecore_x_window_prop_property_del(win, pixmap); | 1040 | ecore_x_window_prop_property_del(win, pixmap); |
1041 | } /* ecore_x_e_comp_pixmap_set */ | 1041 | } |
1042 | 1042 | ||
1043 | EAPI Ecore_X_Pixmap | 1043 | EAPI Ecore_X_Pixmap |
1044 | ecore_x_e_comp_pixmap_get(Ecore_X_Window win) | 1044 | ecore_x_e_comp_pixmap_get(Ecore_X_Window win) |
@@ -1056,5 +1056,5 @@ ecore_x_e_comp_pixmap_get(Ecore_X_Window win) | |||
1056 | return 0; | 1056 | return 0; |
1057 | 1057 | ||
1058 | return pixmap; | 1058 | return pixmap; |
1059 | } /* ecore_x_e_comp_pixmap_get */ | 1059 | } |
1060 | 1060 | ||