| OLD | NEW |
| 1 /* Generated by wayland-scanner 1.11.0 */ | 1 /* Generated by wayland-scanner 1.11.0 */ |
| 2 | 2 |
| 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H | 3 #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H |
| 4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H | 4 #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H |
| 5 | 5 |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include "wayland-client.h" | 8 #include "wayland-client.h" |
| 9 | 9 |
| 10 #ifdef __cplusplus | 10 #ifdef __cplusplus |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 #define ZWP_REMOTE_SURFACE_V1_SET_WINDOW_GEOMETRY 2 | 395 #define ZWP_REMOTE_SURFACE_V1_SET_WINDOW_GEOMETRY 2 |
| 396 #define ZWP_REMOTE_SURFACE_V1_SET_SCALE 3 | 396 #define ZWP_REMOTE_SURFACE_V1_SET_SCALE 3 |
| 397 #define ZWP_REMOTE_SURFACE_V1_FULLSCREEN 4 | 397 #define ZWP_REMOTE_SURFACE_V1_FULLSCREEN 4 |
| 398 #define ZWP_REMOTE_SURFACE_V1_MAXIMIZE 5 | 398 #define ZWP_REMOTE_SURFACE_V1_MAXIMIZE 5 |
| 399 #define ZWP_REMOTE_SURFACE_V1_MINIMIZE 6 | 399 #define ZWP_REMOTE_SURFACE_V1_MINIMIZE 6 |
| 400 #define ZWP_REMOTE_SURFACE_V1_RESTORE 7 | 400 #define ZWP_REMOTE_SURFACE_V1_RESTORE 7 |
| 401 #define ZWP_REMOTE_SURFACE_V1_PIN 8 | 401 #define ZWP_REMOTE_SURFACE_V1_PIN 8 |
| 402 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9 | 402 #define ZWP_REMOTE_SURFACE_V1_UNPIN 9 |
| 403 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10 | 403 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN 10 |
| 404 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11 | 404 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW 11 |
| 405 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE 12 |
| 406 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET 13 |
| 405 | 407 |
| 406 /** | 408 /** |
| 407 * @ingroup iface_zwp_remote_surface_v1 | 409 * @ingroup iface_zwp_remote_surface_v1 |
| 408 */ | 410 */ |
| 409 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 411 #define ZWP_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 410 /** | 412 /** |
| 411 * @ingroup iface_zwp_remote_surface_v1 | 413 * @ingroup iface_zwp_remote_surface_v1 |
| 412 */ | 414 */ |
| 413 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 | 415 #define ZWP_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 |
| 414 /** | 416 /** |
| (...skipping 29 matching lines...) Expand all Loading... |
| 444 */ | 446 */ |
| 445 #define ZWP_REMOTE_SURFACE_V1_UNPIN_SINCE_VERSION 3 | 447 #define ZWP_REMOTE_SURFACE_V1_UNPIN_SINCE_VERSION 3 |
| 446 /** | 448 /** |
| 447 * @ingroup iface_zwp_remote_surface_v1 | 449 * @ingroup iface_zwp_remote_surface_v1 |
| 448 */ | 450 */ |
| 449 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN_SINCE_VERSION 3 | 451 #define ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN_SINCE_VERSION 3 |
| 450 /** | 452 /** |
| 451 * @ingroup iface_zwp_remote_surface_v1 | 453 * @ingroup iface_zwp_remote_surface_v1 |
| 452 */ | 454 */ |
| 453 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_SINCE_VERSION 4 | 455 #define ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_SINCE_VERSION 4 |
| 456 /** |
| 457 * @ingroup iface_zwp_remote_surface_v1 |
| 458 */ |
| 459 #define ZWP_REMOTE_SURFACE_V1_SET_TITLE_SINCE_VERSION 5 |
| 460 /** |
| 461 * @ingroup iface_zwp_remote_surface_v1 |
| 462 */ |
| 463 #define ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET_SINCE_VERSION 5 |
| 454 | 464 |
| 455 /** @ingroup iface_zwp_remote_surface_v1 */ | 465 /** @ingroup iface_zwp_remote_surface_v1 */ |
| 456 static inline void | 466 static inline void |
| 457 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur
face_v1, void *user_data) | 467 zwp_remote_surface_v1_set_user_data(struct zwp_remote_surface_v1 *zwp_remote_sur
face_v1, void *user_data) |
| 458 { | 468 { |
| 459 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d
ata); | 469 wl_proxy_set_user_data((struct wl_proxy *) zwp_remote_surface_v1, user_d
ata); |
| 460 } | 470 } |
| 461 | 471 |
| 462 /** @ingroup iface_zwp_remote_surface_v1 */ | 472 /** @ingroup iface_zwp_remote_surface_v1 */ |
| 463 static inline void * | 473 static inline void * |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 static inline void | 669 static inline void |
| 660 zwp_remote_surface_v1_unfullscreen(struct zwp_remote_surface_v1 *zwp_remote_surf
ace_v1) | 670 zwp_remote_surface_v1_unfullscreen(struct zwp_remote_surface_v1 *zwp_remote_surf
ace_v1) |
| 661 { | 671 { |
| 662 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, | 672 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 663 ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN); | 673 ZWP_REMOTE_SURFACE_V1_UNFULLSCREEN); |
| 664 } | 674 } |
| 665 | 675 |
| 666 /** | 676 /** |
| 667 * @ingroup iface_zwp_remote_surface_v1 | 677 * @ingroup iface_zwp_remote_surface_v1 |
| 668 * | 678 * |
| 669 * Request that surface neesds a rectangular shadow. | 679 * Request that surface needs a rectangular shadow. |
| 670 * | 680 * |
| 671 * This is only a request that the surface should have a rectangular | 681 * This is only a request that the surface should have a rectangular |
| 672 * shadow. The compositor may choose to ignore this request. | 682 * shadow. The compositor may choose to ignore this request. |
| 673 * | 683 * |
| 674 * The arguments are given in the output coordinate space and specifies | 684 * The arguments are given in the output coordinate space and specifies |
| 675 * the inner bounds of the shadow. | 685 * the inner bounds of the shadow. |
| 676 * | 686 * |
| 677 * The arguments are given in the output coordinate space. | 687 * The arguments are given in the output coordinate space. |
| 678 * Specifying zero width and height will disable the shadow. | 688 * Specifying zero width and height will disable the shadow. |
| 679 */ | 689 */ |
| 680 static inline void | 690 static inline void |
| 681 zwp_remote_surface_v1_set_rectangular_shadow(struct zwp_remote_surface_v1 *zwp_r
emote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) | 691 zwp_remote_surface_v1_set_rectangular_shadow(struct zwp_remote_surface_v1 *zwp_r
emote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) |
| 682 { | 692 { |
| 683 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, | 693 wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 684 » » » ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW_GEOMETRY,
x, y, width, height); | 694 » » » ZWP_REMOTE_SURFACE_V1_SET_RECTANGULAR_SHADOW, x, y, wid
th, height); |
| 695 } |
| 696 |
| 697 /** |
| 698 * @ingroup iface_zwp_remote_surface_v1 |
| 699 * |
| 700 * Set a short title for the surface. |
| 701 * |
| 702 * This string may be used to identify the surface in a task bar, |
| 703 * window list, or other user interface elements provided by the |
| 704 * compositor. |
| 705 * |
| 706 * The string must be encoded in UTF-8. |
| 707 */ |
| 708 static inline void |
| 709 zwp_remote_surface_v1_set_title(struct zwp_remote_surface_v1 *zwp_remote_surface
_v1, const char *title) |
| 710 { |
| 711 » wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 712 » » » ZWP_REMOTE_SURFACE_V1_SET_TITLE, title); |
| 713 } |
| 714 |
| 715 /** |
| 716 * @ingroup iface_zwp_remote_surface_v1 |
| 717 * |
| 718 * Set distance from the top of the surface to the contents. |
| 719 * |
| 720 * This distance typically represents the size of the window caption. |
| 721 */ |
| 722 static inline void |
| 723 zwp_remote_surface_v1_set_top_inset(struct zwp_remote_surface_v1 *zwp_remote_sur
face_v1, int32_t height) |
| 724 { |
| 725 » wl_proxy_marshal((struct wl_proxy *) zwp_remote_surface_v1, |
| 726 » » » ZWP_REMOTE_SURFACE_V1_SET_TOP_INSET, height); |
| 685 } | 727 } |
| 686 | 728 |
| 687 #ifdef __cplusplus | 729 #ifdef __cplusplus |
| 688 } | 730 } |
| 689 #endif | 731 #endif |
| 690 | 732 |
| 691 #endif | 733 #endif |
| OLD | NEW |