diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c | 344 |
1 files changed, 172 insertions, 172 deletions
diff --git a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c index 76670d3..1adb36b 100644 --- a/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c +++ b/libraries/ecore/src/lib/ecore_x/xlib/ecore_x_window.c | |||
@@ -33,10 +33,10 @@ static Ecore_X_Window *ignore_list = NULL; | |||
33 | */ | 33 | */ |
34 | EAPI Ecore_X_Window | 34 | EAPI Ecore_X_Window |
35 | ecore_x_window_new(Ecore_X_Window parent, | 35 | ecore_x_window_new(Ecore_X_Window parent, |
36 | int x, | 36 | int x, |
37 | int y, | 37 | int y, |
38 | int w, | 38 | int w, |
39 | int h) | 39 | int h) |
40 | { | 40 | { |
41 | Window win; | 41 | Window win; |
42 | XSetWindowAttributes attr; | 42 | XSetWindowAttributes attr; |
@@ -87,7 +87,7 @@ ecore_x_window_new(Ecore_X_Window parent, | |||
87 | ecore_x_window_defaults_set(win); | 87 | ecore_x_window_defaults_set(win); |
88 | 88 | ||
89 | return win; | 89 | return win; |
90 | } /* ecore_x_window_new */ | 90 | } |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Creates a window with the override redirect attribute set to @c True. | 93 | * Creates a window with the override redirect attribute set to @c True. |
@@ -102,10 +102,10 @@ ecore_x_window_new(Ecore_X_Window parent, | |||
102 | */ | 102 | */ |
103 | EAPI Ecore_X_Window | 103 | EAPI Ecore_X_Window |
104 | ecore_x_window_override_new(Ecore_X_Window parent, | 104 | ecore_x_window_override_new(Ecore_X_Window parent, |
105 | int x, | 105 | int x, |
106 | int y, | 106 | int y, |
107 | int w, | 107 | int w, |
108 | int h) | 108 | int h) |
109 | { | 109 | { |
110 | Window win; | 110 | Window win; |
111 | XSetWindowAttributes attr; | 111 | XSetWindowAttributes attr; |
@@ -152,7 +152,7 @@ ecore_x_window_override_new(Ecore_X_Window parent, | |||
152 | CWWinGravity, | 152 | CWWinGravity, |
153 | &attr); | 153 | &attr); |
154 | return win; | 154 | return win; |
155 | } /* ecore_x_window_override_new */ | 155 | } |
156 | 156 | ||
157 | /** | 157 | /** |
158 | * Creates a new input window. | 158 | * Creates a new input window. |
@@ -167,10 +167,10 @@ ecore_x_window_override_new(Ecore_X_Window parent, | |||
167 | */ | 167 | */ |
168 | EAPI Ecore_X_Window | 168 | EAPI Ecore_X_Window |
169 | ecore_x_window_input_new(Ecore_X_Window parent, | 169 | ecore_x_window_input_new(Ecore_X_Window parent, |
170 | int x, | 170 | int x, |
171 | int y, | 171 | int y, |
172 | int w, | 172 | int w, |
173 | int h) | 173 | int h) |
174 | { | 174 | { |
175 | Window win; | 175 | Window win; |
176 | XSetWindowAttributes attr; | 176 | XSetWindowAttributes attr; |
@@ -209,7 +209,7 @@ ecore_x_window_input_new(Ecore_X_Window parent, | |||
209 | } | 209 | } |
210 | 210 | ||
211 | return win; | 211 | return win; |
212 | } /* ecore_x_window_input_new */ | 212 | } |
213 | 213 | ||
214 | /** | 214 | /** |
215 | * @defgroup Ecore_X_Window_Properties_Group X Window Property Functions | 215 | * @defgroup Ecore_X_Window_Properties_Group X Window Property Functions |
@@ -263,18 +263,18 @@ ecore_x_window_defaults_set(Ecore_X_Window win) | |||
263 | 263 | ||
264 | ecore_app_args_get(&argc, &argv); | 264 | ecore_app_args_get(&argc, &argv); |
265 | ecore_x_icccm_command_set(win, argc, argv); | 265 | ecore_x_icccm_command_set(win, argc, argv); |
266 | } /* ecore_x_window_defaults_set */ | 266 | } |
267 | 267 | ||
268 | EAPI void | 268 | EAPI void |
269 | ecore_x_window_configure(Ecore_X_Window win, | 269 | ecore_x_window_configure(Ecore_X_Window win, |
270 | Ecore_X_Window_Configure_Mask mask, | 270 | Ecore_X_Window_Configure_Mask mask, |
271 | int x, | 271 | int x, |
272 | int y, | 272 | int y, |
273 | int w, | 273 | int w, |
274 | int h, | 274 | int h, |
275 | int border_width, | 275 | int border_width, |
276 | Ecore_X_Window sibling, | 276 | Ecore_X_Window sibling, |
277 | int stack_mode) | 277 | int stack_mode) |
278 | { | 278 | { |
279 | XWindowChanges xwc; | 279 | XWindowChanges xwc; |
280 | 280 | ||
@@ -292,7 +292,7 @@ ecore_x_window_configure(Ecore_X_Window win, | |||
292 | xwc.stack_mode = stack_mode; | 292 | xwc.stack_mode = stack_mode; |
293 | 293 | ||
294 | XConfigureWindow(_ecore_x_disp, win, mask, &xwc); | 294 | XConfigureWindow(_ecore_x_disp, win, mask, &xwc); |
295 | } /* ecore_x_window_configure */ | 295 | } |
296 | 296 | ||
297 | /** | 297 | /** |
298 | * @defgroup Ecore_X_Window_Destroy_Group X Window Destroy Functions | 298 | * @defgroup Ecore_X_Window_Destroy_Group X Window Destroy Functions |
@@ -311,10 +311,10 @@ ecore_x_window_free(Ecore_X_Window win) | |||
311 | /* sorry sir, deleting the root window doesn't sound like | 311 | /* sorry sir, deleting the root window doesn't sound like |
312 | * a smart idea. | 312 | * a smart idea. |
313 | */ | 313 | */ |
314 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 314 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
315 | if (win) | 315 | if (win) |
316 | XDestroyWindow(_ecore_x_disp, win); | 316 | XDestroyWindow(_ecore_x_disp, win); |
317 | } /* ecore_x_window_free */ | 317 | } |
318 | 318 | ||
319 | /** | 319 | /** |
320 | * Set if a window should be ignored. | 320 | * Set if a window should be ignored. |
@@ -323,7 +323,7 @@ ecore_x_window_free(Ecore_X_Window win) | |||
323 | */ | 323 | */ |
324 | EAPI void | 324 | EAPI void |
325 | ecore_x_window_ignore_set(Ecore_X_Window win, | 325 | ecore_x_window_ignore_set(Ecore_X_Window win, |
326 | int ignore) | 326 | int ignore) |
327 | { | 327 | { |
328 | int i, j, cnt; | 328 | int i, j, cnt; |
329 | Ecore_X_Window *t; | 329 | Ecore_X_Window *t; |
@@ -373,7 +373,7 @@ ecore_x_window_ignore_set(Ecore_X_Window win, | |||
373 | t = realloc(ignore_list, ignore_num * sizeof(Ecore_X_Window)); | 373 | t = realloc(ignore_list, ignore_num * sizeof(Ecore_X_Window)); |
374 | if (t) ignore_list = t; | 374 | if (t) ignore_list = t; |
375 | } | 375 | } |
376 | } /* ecore_x_window_ignore_set */ | 376 | } |
377 | 377 | ||
378 | /** | 378 | /** |
379 | * Get the ignore list | 379 | * Get the ignore list |
@@ -387,7 +387,7 @@ ecore_x_window_ignore_list(int *num) | |||
387 | *num = ignore_num; | 387 | *num = ignore_num; |
388 | 388 | ||
389 | return ignore_list; | 389 | return ignore_list; |
390 | } /* ecore_x_window_ignore_list */ | 390 | } |
391 | 391 | ||
392 | /** | 392 | /** |
393 | * Sends a delete request to the given window. | 393 | * Sends a delete request to the given window. |
@@ -415,7 +415,7 @@ ecore_x_window_delete_request_send(Ecore_X_Window win) | |||
415 | xev.xclient.data.l[1] = CurrentTime; | 415 | xev.xclient.data.l[1] = CurrentTime; |
416 | 416 | ||
417 | XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev); | 417 | XSendEvent(_ecore_x_disp, win, False, NoEventMask, &xev); |
418 | } /* ecore_x_window_delete_request_send */ | 418 | } |
419 | 419 | ||
420 | /** | 420 | /** |
421 | * @defgroup Ecore_X_Window_Visibility_Group X Window Visibility Functions | 421 | * @defgroup Ecore_X_Window_Visibility_Group X Window Visibility Functions |
@@ -436,7 +436,7 @@ ecore_x_window_show(Ecore_X_Window win) | |||
436 | { | 436 | { |
437 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 437 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
438 | XMapWindow(_ecore_x_disp, win); | 438 | XMapWindow(_ecore_x_disp, win); |
439 | } /* ecore_x_window_show */ | 439 | } |
440 | 440 | ||
441 | /** | 441 | /** |
442 | * Hides a window. | 442 | * Hides a window. |
@@ -480,7 +480,7 @@ ecore_x_window_hide(Ecore_X_Window win) | |||
480 | XSendEvent(_ecore_x_disp, xev.xunmap.event, False, | 480 | XSendEvent(_ecore_x_disp, xev.xunmap.event, False, |
481 | SubstructureRedirectMask | SubstructureNotifyMask, &xev); | 481 | SubstructureRedirectMask | SubstructureNotifyMask, &xev); |
482 | XUnmapWindow(_ecore_x_disp, win); | 482 | XUnmapWindow(_ecore_x_disp, win); |
483 | } /* ecore_x_window_hide */ | 483 | } |
484 | 484 | ||
485 | /** | 485 | /** |
486 | * @defgroup Ecore_X_Window_Geometry_Group X Window Geometry Functions | 486 | * @defgroup Ecore_X_Window_Geometry_Group X Window Geometry Functions |
@@ -501,12 +501,12 @@ ecore_x_window_hide(Ecore_X_Window win) | |||
501 | */ | 501 | */ |
502 | EAPI void | 502 | EAPI void |
503 | ecore_x_window_move(Ecore_X_Window win, | 503 | ecore_x_window_move(Ecore_X_Window win, |
504 | int x, | 504 | int x, |
505 | int y) | 505 | int y) |
506 | { | 506 | { |
507 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 507 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
508 | XMoveWindow(_ecore_x_disp, win, x, y); | 508 | XMoveWindow(_ecore_x_disp, win, x, y); |
509 | } /* ecore_x_window_move */ | 509 | } |
510 | 510 | ||
511 | /** | 511 | /** |
512 | * Resizes a window. | 512 | * Resizes a window. |
@@ -517,8 +517,8 @@ ecore_x_window_move(Ecore_X_Window win, | |||
517 | */ | 517 | */ |
518 | EAPI void | 518 | EAPI void |
519 | ecore_x_window_resize(Ecore_X_Window win, | 519 | ecore_x_window_resize(Ecore_X_Window win, |
520 | int w, | 520 | int w, |
521 | int h) | 521 | int h) |
522 | { | 522 | { |
523 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 523 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
524 | if (w < 1) | 524 | if (w < 1) |
@@ -528,7 +528,7 @@ ecore_x_window_resize(Ecore_X_Window win, | |||
528 | h = 1; | 528 | h = 1; |
529 | 529 | ||
530 | XResizeWindow(_ecore_x_disp, win, w, h); | 530 | XResizeWindow(_ecore_x_disp, win, w, h); |
531 | } /* ecore_x_window_resize */ | 531 | } |
532 | 532 | ||
533 | /** | 533 | /** |
534 | * Moves and resizes a window. | 534 | * Moves and resizes a window. |
@@ -541,10 +541,10 @@ ecore_x_window_resize(Ecore_X_Window win, | |||
541 | */ | 541 | */ |
542 | EAPI void | 542 | EAPI void |
543 | ecore_x_window_move_resize(Ecore_X_Window win, | 543 | ecore_x_window_move_resize(Ecore_X_Window win, |
544 | int x, | 544 | int x, |
545 | int y, | 545 | int y, |
546 | int w, | 546 | int w, |
547 | int h) | 547 | int h) |
548 | { | 548 | { |
549 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 549 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
550 | if (w < 1) | 550 | if (w < 1) |
@@ -554,7 +554,7 @@ ecore_x_window_move_resize(Ecore_X_Window win, | |||
554 | h = 1; | 554 | h = 1; |
555 | 555 | ||
556 | XMoveResizeWindow(_ecore_x_disp, win, x, y, w, h); | 556 | XMoveResizeWindow(_ecore_x_disp, win, x, y, w, h); |
557 | } /* ecore_x_window_move_resize */ | 557 | } |
558 | 558 | ||
559 | /** | 559 | /** |
560 | * @defgroup Ecore_X_Window_Focus_Functions X Window Focus Functions | 560 | * @defgroup Ecore_X_Window_Focus_Functions X Window Focus Functions |
@@ -576,7 +576,7 @@ ecore_x_window_focus(Ecore_X_Window win) | |||
576 | 576 | ||
577 | // XSetInputFocus(_ecore_x_disp, win, RevertToPointerRoot, CurrentTime); | 577 | // XSetInputFocus(_ecore_x_disp, win, RevertToPointerRoot, CurrentTime); |
578 | XSetInputFocus(_ecore_x_disp, win, RevertToParent, CurrentTime); | 578 | XSetInputFocus(_ecore_x_disp, win, RevertToParent, CurrentTime); |
579 | } /* ecore_x_window_focus */ | 579 | } |
580 | 580 | ||
581 | /** | 581 | /** |
582 | * Sets the focus to the given window at a specific time. | 582 | * Sets the focus to the given window at a specific time. |
@@ -586,7 +586,7 @@ ecore_x_window_focus(Ecore_X_Window win) | |||
586 | */ | 586 | */ |
587 | EAPI void | 587 | EAPI void |
588 | ecore_x_window_focus_at_time(Ecore_X_Window win, | 588 | ecore_x_window_focus_at_time(Ecore_X_Window win, |
589 | Ecore_X_Time t) | 589 | Ecore_X_Time t) |
590 | { | 590 | { |
591 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 591 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
592 | if (win == 0) | 592 | if (win == 0) |
@@ -594,7 +594,7 @@ ecore_x_window_focus_at_time(Ecore_X_Window win, | |||
594 | 594 | ||
595 | // XSetInputFocus(_ecore_x_disp, win, PointerRoot, t); | 595 | // XSetInputFocus(_ecore_x_disp, win, PointerRoot, t); |
596 | XSetInputFocus(_ecore_x_disp, win, RevertToParent, t); | 596 | XSetInputFocus(_ecore_x_disp, win, RevertToParent, t); |
597 | } /* ecore_x_window_focus_at_time */ | 597 | } |
598 | 598 | ||
599 | /** | 599 | /** |
600 | * gets the focus to the window @p win. | 600 | * gets the focus to the window @p win. |
@@ -611,7 +611,7 @@ ecore_x_window_focus_get(void) | |||
611 | win = 0; | 611 | win = 0; |
612 | XGetInputFocus(_ecore_x_disp, &win, &revert_mode); | 612 | XGetInputFocus(_ecore_x_disp, &win, &revert_mode); |
613 | return win; | 613 | return win; |
614 | } /* ecore_x_window_focus_get */ | 614 | } |
615 | 615 | ||
616 | /** | 616 | /** |
617 | * @defgroup Ecore_X_Window_Z_Order_Group X Window Z Order Functions | 617 | * @defgroup Ecore_X_Window_Z_Order_Group X Window Z Order Functions |
@@ -629,7 +629,7 @@ ecore_x_window_raise(Ecore_X_Window win) | |||
629 | { | 629 | { |
630 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 630 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
631 | XRaiseWindow(_ecore_x_disp, win); | 631 | XRaiseWindow(_ecore_x_disp, win); |
632 | } /* ecore_x_window_raise */ | 632 | } |
633 | 633 | ||
634 | /** | 634 | /** |
635 | * Lowers the given window. | 635 | * Lowers the given window. |
@@ -641,7 +641,7 @@ ecore_x_window_lower(Ecore_X_Window win) | |||
641 | { | 641 | { |
642 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 642 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
643 | XLowerWindow(_ecore_x_disp, win); | 643 | XLowerWindow(_ecore_x_disp, win); |
644 | } /* ecore_x_window_lower */ | 644 | } |
645 | 645 | ||
646 | /** | 646 | /** |
647 | * @defgroup Ecore_X_Window_Parent_Group X Window Parent Functions | 647 | * @defgroup Ecore_X_Window_Parent_Group X Window Parent Functions |
@@ -660,15 +660,15 @@ ecore_x_window_lower(Ecore_X_Window win) | |||
660 | EAPI void | 660 | EAPI void |
661 | ecore_x_window_reparent(Ecore_X_Window win, | 661 | ecore_x_window_reparent(Ecore_X_Window win, |
662 | Ecore_X_Window new_parent, | 662 | Ecore_X_Window new_parent, |
663 | int x, | 663 | int x, |
664 | int y) | 664 | int y) |
665 | { | 665 | { |
666 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 666 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
667 | if (new_parent == 0) | 667 | if (new_parent == 0) |
668 | new_parent = DefaultRootWindow(_ecore_x_disp); | 668 | new_parent = DefaultRootWindow(_ecore_x_disp); |
669 | 669 | ||
670 | XReparentWindow(_ecore_x_disp, win, new_parent, x, y); | 670 | XReparentWindow(_ecore_x_disp, win, new_parent, x, y); |
671 | } /* ecore_x_window_reparent */ | 671 | } |
672 | 672 | ||
673 | /** | 673 | /** |
674 | * Retrieves the size of the given window. | 674 | * Retrieves the size of the given window. |
@@ -679,8 +679,8 @@ ecore_x_window_reparent(Ecore_X_Window win, | |||
679 | */ | 679 | */ |
680 | EAPI void | 680 | EAPI void |
681 | ecore_x_window_size_get(Ecore_X_Window win, | 681 | ecore_x_window_size_get(Ecore_X_Window win, |
682 | int *w, | 682 | int *w, |
683 | int *h) | 683 | int *h) |
684 | { | 684 | { |
685 | int dummy_x, dummy_y; | 685 | int dummy_x, dummy_y; |
686 | 686 | ||
@@ -689,7 +689,7 @@ ecore_x_window_size_get(Ecore_X_Window win, | |||
689 | win = DefaultRootWindow(_ecore_x_disp); | 689 | win = DefaultRootWindow(_ecore_x_disp); |
690 | 690 | ||
691 | ecore_x_drawable_geometry_get(win, &dummy_x, &dummy_y, w, h); | 691 | ecore_x_drawable_geometry_get(win, &dummy_x, &dummy_y, w, h); |
692 | } /* ecore_x_window_size_get */ | 692 | } |
693 | 693 | ||
694 | /** | 694 | /** |
695 | * Retrieves the geometry of the given window. | 695 | * Retrieves the geometry of the given window. |
@@ -709,17 +709,17 @@ ecore_x_window_size_get(Ecore_X_Window win, | |||
709 | */ | 709 | */ |
710 | EAPI void | 710 | EAPI void |
711 | ecore_x_window_geometry_get(Ecore_X_Window win, | 711 | ecore_x_window_geometry_get(Ecore_X_Window win, |
712 | int *x, | 712 | int *x, |
713 | int *y, | 713 | int *y, |
714 | int *w, | 714 | int *w, |
715 | int *h) | 715 | int *h) |
716 | { | 716 | { |
717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
718 | if (!win) | 718 | if (!win) |
719 | win = DefaultRootWindow(_ecore_x_disp); | 719 | win = DefaultRootWindow(_ecore_x_disp); |
720 | 720 | ||
721 | ecore_x_drawable_geometry_get(win, x, y, w, h); | 721 | ecore_x_drawable_geometry_get(win, x, y, w, h); |
722 | } /* ecore_x_window_geometry_get */ | 722 | } |
723 | 723 | ||
724 | /** | 724 | /** |
725 | * Retrieves the width of the border of the given window. | 725 | * Retrieves the width of the border of the given window. |
@@ -736,7 +736,7 @@ ecore_x_window_border_width_get(Ecore_X_Window win) | |||
736 | return 0; | 736 | return 0; |
737 | 737 | ||
738 | return ecore_x_drawable_border_width_get(win); | 738 | return ecore_x_drawable_border_width_get(win); |
739 | } /* ecore_x_window_border_width_get */ | 739 | } |
740 | 740 | ||
741 | /** | 741 | /** |
742 | * Sets the width of the border of the given window. | 742 | * Sets the width of the border of the given window. |
@@ -746,7 +746,7 @@ ecore_x_window_border_width_get(Ecore_X_Window win) | |||
746 | */ | 746 | */ |
747 | EAPI void | 747 | EAPI void |
748 | ecore_x_window_border_width_set(Ecore_X_Window win, | 748 | ecore_x_window_border_width_set(Ecore_X_Window win, |
749 | int width) | 749 | int width) |
750 | { | 750 | { |
751 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 751 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
752 | /* doesn't make sense to call this on a root window */ | 752 | /* doesn't make sense to call this on a root window */ |
@@ -754,7 +754,7 @@ ecore_x_window_border_width_set(Ecore_X_Window win, | |||
754 | return; | 754 | return; |
755 | 755 | ||
756 | XSetWindowBorderWidth (_ecore_x_disp, win, width); | 756 | XSetWindowBorderWidth (_ecore_x_disp, win, width); |
757 | } /* ecore_x_window_border_width_set */ | 757 | } |
758 | 758 | ||
759 | /** | 759 | /** |
760 | * Retrieves the depth of the given window. | 760 | * Retrieves the depth of the given window. |
@@ -766,7 +766,7 @@ ecore_x_window_depth_get(Ecore_X_Window win) | |||
766 | { | 766 | { |
767 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 767 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
768 | return ecore_x_drawable_depth_get(win); | 768 | return ecore_x_drawable_depth_get(win); |
769 | } /* ecore_x_window_depth_get */ | 769 | } |
770 | 770 | ||
771 | /** | 771 | /** |
772 | * To be documented. | 772 | * To be documented. |
@@ -775,7 +775,7 @@ ecore_x_window_depth_get(Ecore_X_Window win) | |||
775 | */ | 775 | */ |
776 | EAPI void | 776 | EAPI void |
777 | ecore_x_window_cursor_show(Ecore_X_Window win, | 777 | ecore_x_window_cursor_show(Ecore_X_Window win, |
778 | Eina_Bool show) | 778 | Eina_Bool show) |
779 | { | 779 | { |
780 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 780 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
781 | if (win == 0) | 781 | if (win == 0) |
@@ -803,7 +803,7 @@ ecore_x_window_cursor_show(Ecore_X_Window win, | |||
803 | } | 803 | } |
804 | else | 804 | else |
805 | XDefineCursor(_ecore_x_disp, win, 0); | 805 | XDefineCursor(_ecore_x_disp, win, 0); |
806 | } /* ecore_x_window_cursor_show */ | 806 | } |
807 | 807 | ||
808 | EAPI void | 808 | EAPI void |
809 | ecore_x_window_cursor_set(Ecore_X_Window win, | 809 | ecore_x_window_cursor_set(Ecore_X_Window win, |
@@ -814,7 +814,7 @@ ecore_x_window_cursor_set(Ecore_X_Window win, | |||
814 | XUndefineCursor(_ecore_x_disp, win); | 814 | XUndefineCursor(_ecore_x_disp, win); |
815 | else | 815 | else |
816 | XDefineCursor(_ecore_x_disp, win, c); | 816 | XDefineCursor(_ecore_x_disp, win, c); |
817 | } /* ecore_x_window_cursor_set */ | 817 | } |
818 | 818 | ||
819 | /** | 819 | /** |
820 | * Finds out whether the given window is currently visible. | 820 | * Finds out whether the given window is currently visible. |
@@ -830,7 +830,7 @@ ecore_x_window_visible_get(Ecore_X_Window win) | |||
830 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 830 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
831 | return XGetWindowAttributes(_ecore_x_disp, win, &attr) && | 831 | return XGetWindowAttributes(_ecore_x_disp, win, &attr) && |
832 | (attr.map_state == IsViewable); | 832 | (attr.map_state == IsViewable); |
833 | } /* ecore_x_window_visible_get */ | 833 | } |
834 | 834 | ||
835 | typedef struct _Shadow Shadow; | 835 | typedef struct _Shadow Shadow; |
836 | struct _Shadow | 836 | struct _Shadow |
@@ -914,7 +914,7 @@ _ecore_x_window_tree_walk(Window win) | |||
914 | XFree(list); | 914 | XFree(list); |
915 | 915 | ||
916 | return s; | 916 | return s; |
917 | } /* _ecore_x_window_tree_walk */ | 917 | } |
918 | 918 | ||
919 | static void | 919 | static void |
920 | _ecore_x_window_tree_shadow_free1(Shadow *s) | 920 | _ecore_x_window_tree_shadow_free1(Shadow *s) |
@@ -935,7 +935,7 @@ _ecore_x_window_tree_shadow_free1(Shadow *s) | |||
935 | } | 935 | } |
936 | 936 | ||
937 | free(s); | 937 | free(s); |
938 | } /* _ecore_x_window_tree_shadow_free1 */ | 938 | } |
939 | 939 | ||
940 | static void | 940 | static void |
941 | _ecore_x_window_tree_shadow_free(void) | 941 | _ecore_x_window_tree_shadow_free(void) |
@@ -955,7 +955,7 @@ _ecore_x_window_tree_shadow_free(void) | |||
955 | free(shadow_base); | 955 | free(shadow_base); |
956 | shadow_base = NULL; | 956 | shadow_base = NULL; |
957 | shadow_num = 0; | 957 | shadow_num = 0; |
958 | } /* _ecore_x_window_tree_shadow_free */ | 958 | } |
959 | 959 | ||
960 | static void | 960 | static void |
961 | _ecore_x_window_tree_shadow_populate(void) | 961 | _ecore_x_window_tree_shadow_populate(void) |
@@ -976,7 +976,7 @@ _ecore_x_window_tree_shadow_populate(void) | |||
976 | 976 | ||
977 | free(roots); | 977 | free(roots); |
978 | } | 978 | } |
979 | } /* _ecore_x_window_tree_shadow_populate */ | 979 | } |
980 | 980 | ||
981 | /* | 981 | /* |
982 | static int shadow_count = 0; | 982 | static int shadow_count = 0; |
@@ -1000,7 +1000,7 @@ _ecore_x_window_tree_shadow_populate(void) | |||
1000 | 1000 | ||
1001 | static Shadow * | 1001 | static Shadow * |
1002 | _ecore_x_window_shadow_tree_find_shadow(Shadow *s, | 1002 | _ecore_x_window_shadow_tree_find_shadow(Shadow *s, |
1003 | Window win) | 1003 | Window win) |
1004 | { | 1004 | { |
1005 | Shadow *ss; | 1005 | Shadow *ss; |
1006 | int i; | 1006 | int i; |
@@ -1020,7 +1020,7 @@ _ecore_x_window_shadow_tree_find_shadow(Shadow *s, | |||
1020 | } | 1020 | } |
1021 | 1021 | ||
1022 | return NULL; | 1022 | return NULL; |
1023 | } /* _ecore_x_window_shadow_tree_find_shadow */ | 1023 | } |
1024 | 1024 | ||
1025 | static Shadow * | 1025 | static Shadow * |
1026 | _ecore_x_window_shadow_tree_find(Window base) | 1026 | _ecore_x_window_shadow_tree_find(Window base) |
@@ -1037,16 +1037,16 @@ _ecore_x_window_shadow_tree_find(Window base) | |||
1037 | return s; | 1037 | return s; |
1038 | } | 1038 | } |
1039 | return NULL; | 1039 | return NULL; |
1040 | } /* _ecore_x_window_shadow_tree_find */ | 1040 | } |
1041 | 1041 | ||
1042 | static int | 1042 | static int |
1043 | _inside_rects(Shadow *s, | 1043 | _inside_rects(Shadow *s, |
1044 | int x, | 1044 | int x, |
1045 | int y, | 1045 | int y, |
1046 | int bx, | 1046 | int bx, |
1047 | int by, | 1047 | int by, |
1048 | Ecore_X_Rectangle *rects, | 1048 | Ecore_X_Rectangle *rects, |
1049 | int num) | 1049 | int num) |
1050 | { | 1050 | { |
1051 | int i, inside; | 1051 | int i, inside; |
1052 | 1052 | ||
@@ -1068,13 +1068,13 @@ _inside_rects(Shadow *s, | |||
1068 | } | 1068 | } |
1069 | 1069 | ||
1070 | static Window | 1070 | static Window |
1071 | _ecore_x_window_shadow_tree_at_xy_get_shadow(Shadow *s, | 1071 | _ecore_x_window_shadow_tree_at_xy_get_shadow(Shadow *s, |
1072 | int bx, | 1072 | int bx, |
1073 | int by, | 1073 | int by, |
1074 | int x, | 1074 | int x, |
1075 | int y, | 1075 | int y, |
1076 | Ecore_X_Window *skip, | 1076 | Ecore_X_Window *skip, |
1077 | int skip_num) | 1077 | int skip_num) |
1078 | { | 1078 | { |
1079 | Window child; | 1079 | Window child; |
1080 | int i, j; | 1080 | int i, j; |
@@ -1131,16 +1131,16 @@ onward: | |||
1131 | } | 1131 | } |
1132 | 1132 | ||
1133 | return s->win; | 1133 | return s->win; |
1134 | } /* _ecore_x_window_shadow_tree_at_xy_get_shadow */ | 1134 | } |
1135 | 1135 | ||
1136 | static Window | 1136 | static Window |
1137 | _ecore_x_window_shadow_tree_at_xy_get(Window base, | 1137 | _ecore_x_window_shadow_tree_at_xy_get(Window base, |
1138 | int bx, | 1138 | int bx, |
1139 | int by, | 1139 | int by, |
1140 | int x, | 1140 | int x, |
1141 | int y, | 1141 | int y, |
1142 | Ecore_X_Window *skip, | 1142 | Ecore_X_Window *skip, |
1143 | int skip_num) | 1143 | int skip_num) |
1144 | { | 1144 | { |
1145 | Shadow *s; | 1145 | Shadow *s; |
1146 | 1146 | ||
@@ -1162,7 +1162,7 @@ _ecore_x_window_shadow_tree_at_xy_get(Window base, | |||
1162 | y, | 1162 | y, |
1163 | skip, | 1163 | skip, |
1164 | skip_num); | 1164 | skip_num); |
1165 | } /* _ecore_x_window_shadow_tree_at_xy_get */ | 1165 | } |
1166 | 1166 | ||
1167 | /** | 1167 | /** |
1168 | * Retrieves the top, visible window at the given location, | 1168 | * Retrieves the top, visible window at the given location, |
@@ -1177,11 +1177,11 @@ _ecore_x_window_shadow_tree_at_xy_get(Window base, | |||
1177 | * @ingroup Ecore_X_Window_Geometry_Group | 1177 | * @ingroup Ecore_X_Window_Geometry_Group |
1178 | */ | 1178 | */ |
1179 | EAPI Ecore_X_Window | 1179 | EAPI Ecore_X_Window |
1180 | ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base, | 1180 | ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base, |
1181 | int x, | 1181 | int x, |
1182 | int y, | 1182 | int y, |
1183 | Ecore_X_Window *skip, | 1183 | Ecore_X_Window *skip, |
1184 | int skip_num) | 1184 | int skip_num) |
1185 | { | 1185 | { |
1186 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1186 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1187 | return _ecore_x_window_shadow_tree_at_xy_get(base, | 1187 | return _ecore_x_window_shadow_tree_at_xy_get(base, |
@@ -1191,7 +1191,7 @@ ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base, | |||
1191 | y, | 1191 | y, |
1192 | skip, | 1192 | skip, |
1193 | skip_num); | 1193 | skip_num); |
1194 | } /* ecore_x_window_shadow_tree_at_xy_with_skip_get */ | 1194 | } |
1195 | 1195 | ||
1196 | /** | 1196 | /** |
1197 | * Retrieves the parent window a given window has. This uses the shadow window | 1197 | * Retrieves the parent window a given window has. This uses the shadow window |
@@ -1231,7 +1231,7 @@ ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__, | |||
1231 | } | 1231 | } |
1232 | } | 1232 | } |
1233 | return 0; | 1233 | return 0; |
1234 | } /* ecore_x_window_shadow_parent_get */ | 1234 | } |
1235 | 1235 | ||
1236 | /** | 1236 | /** |
1237 | * Flushes the window shadow tree so nothing is stored. | 1237 | * Flushes the window shadow tree so nothing is stored. |
@@ -1242,7 +1242,7 @@ ecore_x_window_shadow_tree_flush(void) | |||
1242 | { | 1242 | { |
1243 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1243 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1244 | _ecore_x_window_tree_shadow_free(); | 1244 | _ecore_x_window_tree_shadow_free(); |
1245 | } /* ecore_x_window_shadow_tree_flush */ | 1245 | } |
1246 | 1246 | ||
1247 | /** | 1247 | /** |
1248 | * Retrieves the root window a given window is on. | 1248 | * Retrieves the root window a given window is on. |
@@ -1260,16 +1260,16 @@ ecore_x_window_root_get(Ecore_X_Window win) | |||
1260 | return 0; | 1260 | return 0; |
1261 | 1261 | ||
1262 | return att.root; | 1262 | return att.root; |
1263 | } /* ecore_x_window_root_get */ | 1263 | } |
1264 | 1264 | ||
1265 | static Window | 1265 | static Window |
1266 | _ecore_x_window_at_xy_get(Window base, | 1266 | _ecore_x_window_at_xy_get(Window base, |
1267 | int bx, | 1267 | int bx, |
1268 | int by, | 1268 | int by, |
1269 | int x, | 1269 | int x, |
1270 | int y, | 1270 | int y, |
1271 | Ecore_X_Window *skip, | 1271 | Ecore_X_Window *skip, |
1272 | int skip_num) | 1272 | int skip_num) |
1273 | { | 1273 | { |
1274 | Window *list = NULL; | 1274 | Window *list = NULL; |
1275 | Window parent_win = 0, child = 0, root_win = 0; | 1275 | Window parent_win = 0, child = 0, root_win = 0; |
@@ -1324,7 +1324,7 @@ onward: | |||
1324 | } | 1324 | } |
1325 | 1325 | ||
1326 | return base; | 1326 | return base; |
1327 | } /* _ecore_x_window_at_xy_get */ | 1327 | } |
1328 | 1328 | ||
1329 | /** | 1329 | /** |
1330 | * Retrieves the top, visible window at the given location. | 1330 | * Retrieves the top, visible window at the given location. |
@@ -1349,7 +1349,7 @@ ecore_x_window_at_xy_get(int x, | |||
1349 | ecore_x_ungrab(); | 1349 | ecore_x_ungrab(); |
1350 | 1350 | ||
1351 | return win ? win : root; | 1351 | return win ? win : root; |
1352 | } /* ecore_x_window_at_xy_get */ | 1352 | } |
1353 | 1353 | ||
1354 | /** | 1354 | /** |
1355 | * Retrieves the top, visible window at the given location, | 1355 | * Retrieves the top, visible window at the given location, |
@@ -1360,10 +1360,10 @@ ecore_x_window_at_xy_get(int x, | |||
1360 | * @ingroup Ecore_X_Window_Geometry_Group | 1360 | * @ingroup Ecore_X_Window_Geometry_Group |
1361 | */ | 1361 | */ |
1362 | EAPI Ecore_X_Window | 1362 | EAPI Ecore_X_Window |
1363 | ecore_x_window_at_xy_with_skip_get(int x, | 1363 | ecore_x_window_at_xy_with_skip_get(int x, |
1364 | int y, | 1364 | int y, |
1365 | Ecore_X_Window *skip, | 1365 | Ecore_X_Window *skip, |
1366 | int skip_num) | 1366 | int skip_num) |
1367 | { | 1367 | { |
1368 | Ecore_X_Window win, root; | 1368 | Ecore_X_Window win, root; |
1369 | 1369 | ||
@@ -1377,12 +1377,12 @@ ecore_x_window_at_xy_with_skip_get(int x, | |||
1377 | ecore_x_ungrab(); | 1377 | ecore_x_ungrab(); |
1378 | 1378 | ||
1379 | return win ? win : root; | 1379 | return win ? win : root; |
1380 | } /* ecore_x_window_at_xy_with_skip_get */ | 1380 | } |
1381 | 1381 | ||
1382 | EAPI Ecore_X_Window | 1382 | EAPI Ecore_X_Window |
1383 | ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, | 1383 | ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, |
1384 | int x, | 1384 | int x, |
1385 | int y) | 1385 | int y) |
1386 | { | 1386 | { |
1387 | Ecore_X_Window win; | 1387 | Ecore_X_Window win; |
1388 | 1388 | ||
@@ -1392,7 +1392,7 @@ ecore_x_window_at_xy_begin_get(Ecore_X_Window begin, | |||
1392 | ecore_x_ungrab(); | 1392 | ecore_x_ungrab(); |
1393 | 1393 | ||
1394 | return win ? win : begin; | 1394 | return win ? win : begin; |
1395 | } /* ecore_x_window_at_xy_begin_get */ | 1395 | } |
1396 | 1396 | ||
1397 | /** | 1397 | /** |
1398 | * Retrieves the parent window of the given window. | 1398 | * Retrieves the parent window of the given window. |
@@ -1414,7 +1414,7 @@ ecore_x_window_parent_get(Ecore_X_Window win) | |||
1414 | XFree(children); | 1414 | XFree(children); |
1415 | 1415 | ||
1416 | return parent; | 1416 | return parent; |
1417 | } /* ecore_x_window_parent_get */ | 1417 | } |
1418 | 1418 | ||
1419 | /** | 1419 | /** |
1420 | * Sets the background color of the given window. | 1420 | * Sets the background color of the given window. |
@@ -1443,10 +1443,10 @@ ecore_x_window_background_color_set(Ecore_X_Window win, | |||
1443 | 1443 | ||
1444 | attr.background_pixel = col.pixel; | 1444 | attr.background_pixel = col.pixel; |
1445 | XChangeWindowAttributes(_ecore_x_disp, win, CWBackPixel, &attr); | 1445 | XChangeWindowAttributes(_ecore_x_disp, win, CWBackPixel, &attr); |
1446 | } /* ecore_x_window_background_color_set */ | 1446 | } |
1447 | 1447 | ||
1448 | EAPI void | 1448 | EAPI void |
1449 | ecore_x_window_gravity_set(Ecore_X_Window win, | 1449 | ecore_x_window_gravity_set(Ecore_X_Window win, |
1450 | Ecore_X_Gravity grav) | 1450 | Ecore_X_Gravity grav) |
1451 | { | 1451 | { |
1452 | XSetWindowAttributes att; | 1452 | XSetWindowAttributes att; |
@@ -1454,10 +1454,10 @@ ecore_x_window_gravity_set(Ecore_X_Window win, | |||
1454 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1454 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1455 | att.win_gravity = grav; | 1455 | att.win_gravity = grav; |
1456 | XChangeWindowAttributes(_ecore_x_disp, win, CWWinGravity, &att); | 1456 | XChangeWindowAttributes(_ecore_x_disp, win, CWWinGravity, &att); |
1457 | } /* ecore_x_window_gravity_set */ | 1457 | } |
1458 | 1458 | ||
1459 | EAPI void | 1459 | EAPI void |
1460 | ecore_x_window_pixel_gravity_set(Ecore_X_Window win, | 1460 | ecore_x_window_pixel_gravity_set(Ecore_X_Window win, |
1461 | Ecore_X_Gravity grav) | 1461 | Ecore_X_Gravity grav) |
1462 | { | 1462 | { |
1463 | XSetWindowAttributes att; | 1463 | XSetWindowAttributes att; |
@@ -1465,7 +1465,7 @@ ecore_x_window_pixel_gravity_set(Ecore_X_Window win, | |||
1465 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1465 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1466 | att.bit_gravity = grav; | 1466 | att.bit_gravity = grav; |
1467 | XChangeWindowAttributes(_ecore_x_disp, win, CWBitGravity, &att); | 1467 | XChangeWindowAttributes(_ecore_x_disp, win, CWBitGravity, &att); |
1468 | } /* ecore_x_window_pixel_gravity_set */ | 1468 | } |
1469 | 1469 | ||
1470 | EAPI void | 1470 | EAPI void |
1471 | ecore_x_window_pixmap_set(Ecore_X_Window win, | 1471 | ecore_x_window_pixmap_set(Ecore_X_Window win, |
@@ -1473,50 +1473,50 @@ ecore_x_window_pixmap_set(Ecore_X_Window win, | |||
1473 | { | 1473 | { |
1474 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1474 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1475 | XSetWindowBackgroundPixmap(_ecore_x_disp, win, pmap); | 1475 | XSetWindowBackgroundPixmap(_ecore_x_disp, win, pmap); |
1476 | } /* ecore_x_window_pixmap_set */ | 1476 | } |
1477 | 1477 | ||
1478 | EAPI void | 1478 | EAPI void |
1479 | ecore_x_window_area_clear(Ecore_X_Window win, | 1479 | ecore_x_window_area_clear(Ecore_X_Window win, |
1480 | int x, | 1480 | int x, |
1481 | int y, | 1481 | int y, |
1482 | int w, | 1482 | int w, |
1483 | int h) | 1483 | int h) |
1484 | { | 1484 | { |
1485 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1485 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1486 | XClearArea(_ecore_x_disp, win, x, y, w, h, False); | 1486 | XClearArea(_ecore_x_disp, win, x, y, w, h, False); |
1487 | } /* ecore_x_window_area_clear */ | 1487 | } |
1488 | 1488 | ||
1489 | EAPI void | 1489 | EAPI void |
1490 | ecore_x_window_area_expose(Ecore_X_Window win, | 1490 | ecore_x_window_area_expose(Ecore_X_Window win, |
1491 | int x, | 1491 | int x, |
1492 | int y, | 1492 | int y, |
1493 | int w, | 1493 | int w, |
1494 | int h) | 1494 | int h) |
1495 | { | 1495 | { |
1496 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1496 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1497 | XClearArea(_ecore_x_disp, win, x, y, w, h, True); | 1497 | XClearArea(_ecore_x_disp, win, x, y, w, h, True); |
1498 | } /* ecore_x_window_area_expose */ | 1498 | } |
1499 | 1499 | ||
1500 | EAPI void | 1500 | EAPI void |
1501 | ecore_x_window_override_set(Ecore_X_Window win, | 1501 | ecore_x_window_override_set(Ecore_X_Window win, |
1502 | Eina_Bool override) | 1502 | Eina_Bool override) |
1503 | { | 1503 | { |
1504 | XSetWindowAttributes att; | 1504 | XSetWindowAttributes att; |
1505 | 1505 | ||
1506 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1506 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
1507 | att.override_redirect = override; | 1507 | att.override_redirect = override; |
1508 | XChangeWindowAttributes(_ecore_x_disp, win, CWOverrideRedirect, &att); | 1508 | XChangeWindowAttributes(_ecore_x_disp, win, CWOverrideRedirect, &att); |
1509 | } /* ecore_x_window_override_set */ | 1509 | } |
1510 | 1510 | ||
1511 | #ifdef ECORE_XRENDER | 1511 | #ifdef ECORE_XRENDER |
1512 | static Ecore_X_Window | 1512 | static Ecore_X_Window |
1513 | _ecore_x_window_argb_internal_new(Ecore_X_Window parent, | 1513 | _ecore_x_window_argb_internal_new(Ecore_X_Window parent, |
1514 | int x, | 1514 | int x, |
1515 | int y, | 1515 | int y, |
1516 | int w, | 1516 | int w, |
1517 | int h, | 1517 | int h, |
1518 | Eina_Bool override, | 1518 | Eina_Bool override, |
1519 | Eina_Bool saveunder) | 1519 | Eina_Bool saveunder) |
1520 | { | 1520 | { |
1521 | Window win; | 1521 | Window win; |
1522 | XSetWindowAttributes attr; | 1522 | XSetWindowAttributes attr; |
@@ -1535,15 +1535,15 @@ _ecore_x_window_argb_internal_new(Ecore_X_Window parent, | |||
1535 | else | 1535 | else |
1536 | { | 1536 | { |
1537 | /* ewww - round trip */ | 1537 | /* ewww - round trip */ |
1538 | XGetWindowAttributes(_ecore_x_disp, parent, &att); | 1538 | XGetWindowAttributes(_ecore_x_disp, parent, &att); |
1539 | for (i = 0; i < ScreenCount(_ecore_x_disp); i++) | 1539 | for (i = 0; i < ScreenCount(_ecore_x_disp); i++) |
1540 | { | 1540 | { |
1541 | if (att.screen == ScreenOfDisplay(_ecore_x_disp, i)) | 1541 | if (att.screen == ScreenOfDisplay(_ecore_x_disp, i)) |
1542 | { | 1542 | { |
1543 | scr = i; | 1543 | scr = i; |
1544 | break; | 1544 | break; |
1545 | } | 1545 | } |
1546 | } | 1546 | } |
1547 | } | 1547 | } |
1548 | 1548 | ||
1549 | vi_in.screen = scr; | 1549 | vi_in.screen = scr; |
@@ -1615,7 +1615,7 @@ _ecore_x_window_argb_internal_new(Ecore_X_Window parent, | |||
1615 | ecore_x_window_defaults_set(win); | 1615 | ecore_x_window_defaults_set(win); |
1616 | 1616 | ||
1617 | return win; | 1617 | return win; |
1618 | } /* _ecore_x_window_argb_internal_new */ | 1618 | } |
1619 | 1619 | ||
1620 | #endif /* ifdef ECORE_XRENDER */ | 1620 | #endif /* ifdef ECORE_XRENDER */ |
1621 | 1621 | ||
@@ -1641,7 +1641,7 @@ ecore_x_window_argb_get(Ecore_X_Window win) | |||
1641 | #else /* ifdef ECORE_XRENDER */ | 1641 | #else /* ifdef ECORE_XRENDER */ |
1642 | return 0; | 1642 | return 0; |
1643 | #endif /* ifdef ECORE_XRENDER */ | 1643 | #endif /* ifdef ECORE_XRENDER */ |
1644 | } /* ecore_x_window_argb_get */ | 1644 | } |
1645 | 1645 | ||
1646 | /** | 1646 | /** |
1647 | * Creates a new window. | 1647 | * Creates a new window. |
@@ -1656,10 +1656,10 @@ ecore_x_window_argb_get(Ecore_X_Window win) | |||
1656 | */ | 1656 | */ |
1657 | EAPI Ecore_X_Window | 1657 | EAPI Ecore_X_Window |
1658 | ecore_x_window_manager_argb_new(Ecore_X_Window parent, | 1658 | ecore_x_window_manager_argb_new(Ecore_X_Window parent, |
1659 | int x, | 1659 | int x, |
1660 | int y, | 1660 | int y, |
1661 | int w, | 1661 | int w, |
1662 | int h) | 1662 | int h) |
1663 | { | 1663 | { |
1664 | #ifdef ECORE_XRENDER | 1664 | #ifdef ECORE_XRENDER |
1665 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1665 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -1667,7 +1667,7 @@ ecore_x_window_manager_argb_new(Ecore_X_Window parent, | |||
1667 | #else /* ifdef ECORE_XRENDER */ | 1667 | #else /* ifdef ECORE_XRENDER */ |
1668 | return 0; | 1668 | return 0; |
1669 | #endif /* ifdef ECORE_XRENDER */ | 1669 | #endif /* ifdef ECORE_XRENDER */ |
1670 | } /* ecore_x_window_manager_argb_new */ | 1670 | } |
1671 | 1671 | ||
1672 | /** | 1672 | /** |
1673 | * Creates a new window. | 1673 | * Creates a new window. |
@@ -1682,10 +1682,10 @@ ecore_x_window_manager_argb_new(Ecore_X_Window parent, | |||
1682 | */ | 1682 | */ |
1683 | EAPI Ecore_X_Window | 1683 | EAPI Ecore_X_Window |
1684 | ecore_x_window_argb_new(Ecore_X_Window parent, | 1684 | ecore_x_window_argb_new(Ecore_X_Window parent, |
1685 | int x, | 1685 | int x, |
1686 | int y, | 1686 | int y, |
1687 | int w, | 1687 | int w, |
1688 | int h) | 1688 | int h) |
1689 | { | 1689 | { |
1690 | #ifdef ECORE_XRENDER | 1690 | #ifdef ECORE_XRENDER |
1691 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1691 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -1693,7 +1693,7 @@ ecore_x_window_argb_new(Ecore_X_Window parent, | |||
1693 | #else /* ifdef ECORE_XRENDER */ | 1693 | #else /* ifdef ECORE_XRENDER */ |
1694 | return 0; | 1694 | return 0; |
1695 | #endif /* ifdef ECORE_XRENDER */ | 1695 | #endif /* ifdef ECORE_XRENDER */ |
1696 | } /* ecore_x_window_argb_new */ | 1696 | } |
1697 | 1697 | ||
1698 | /** | 1698 | /** |
1699 | * Creates a window with the override redirect attribute set to @c True. | 1699 | * Creates a window with the override redirect attribute set to @c True. |
@@ -1708,10 +1708,10 @@ ecore_x_window_argb_new(Ecore_X_Window parent, | |||
1708 | */ | 1708 | */ |
1709 | EAPI Ecore_X_Window | 1709 | EAPI Ecore_X_Window |
1710 | ecore_x_window_override_argb_new(Ecore_X_Window parent, | 1710 | ecore_x_window_override_argb_new(Ecore_X_Window parent, |
1711 | int x, | 1711 | int x, |
1712 | int y, | 1712 | int y, |
1713 | int w, | 1713 | int w, |
1714 | int h) | 1714 | int h) |
1715 | { | 1715 | { |
1716 | #ifdef ECORE_XRENDER | 1716 | #ifdef ECORE_XRENDER |
1717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); | 1717 | LOGFN(__FILE__, __LINE__, __FUNCTION__); |
@@ -1719,5 +1719,5 @@ ecore_x_window_override_argb_new(Ecore_X_Window parent, | |||
1719 | #else /* ifdef ECORE_XRENDER */ | 1719 | #else /* ifdef ECORE_XRENDER */ |
1720 | return 0; | 1720 | return 0; |
1721 | #endif /* ifdef ECORE_XRENDER */ | 1721 | #endif /* ifdef ECORE_XRENDER */ |
1722 | } /* ecore_x_window_override_argb_new */ | 1722 | } |
1723 | 1723 | ||