| 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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE 10 | 422 #define ZCR_REMOTE_SURFACE_V1_MINIMIZE 10 |
| 423 #define ZCR_REMOTE_SURFACE_V1_RESTORE 11 | 423 #define ZCR_REMOTE_SURFACE_V1_RESTORE 11 |
| 424 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN 12 | 424 #define ZCR_REMOTE_SURFACE_V1_FULLSCREEN 12 |
| 425 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN 13 | 425 #define ZCR_REMOTE_SURFACE_V1_UNFULLSCREEN 13 |
| 426 #define ZCR_REMOTE_SURFACE_V1_PIN 14 | 426 #define ZCR_REMOTE_SURFACE_V1_PIN 14 |
| 427 #define ZCR_REMOTE_SURFACE_V1_UNPIN 15 | 427 #define ZCR_REMOTE_SURFACE_V1_UNPIN 15 |
| 428 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16 | 428 #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16 |
| 429 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17 | 429 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17 |
| 430 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING 18 | 430 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING 18 |
| 431 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING 19 | 431 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING 19 |
| 432 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW 20 |
| 432 | 433 |
| 433 /** | 434 /** |
| 434 * @ingroup iface_zcr_remote_surface_v1 | 435 * @ingroup iface_zcr_remote_surface_v1 |
| 435 */ | 436 */ |
| 436 #define ZCR_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 437 #define ZCR_REMOTE_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 437 /** | 438 /** |
| 438 * @ingroup iface_zcr_remote_surface_v1 | 439 * @ingroup iface_zcr_remote_surface_v1 |
| 439 */ | 440 */ |
| 440 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 | 441 #define ZCR_REMOTE_SURFACE_V1_SET_APP_ID_SINCE_VERSION 1 |
| 441 /** | 442 /** |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 */ | 504 */ |
| 504 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 | 505 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 |
| 505 /** | 506 /** |
| 506 * @ingroup iface_zcr_remote_surface_v1 | 507 * @ingroup iface_zcr_remote_surface_v1 |
| 507 */ | 508 */ |
| 508 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING_SINCE_VERSION 2 | 509 #define ZCR_REMOTE_SURFACE_V1_SET_MOVING_SINCE_VERSION 2 |
| 509 /** | 510 /** |
| 510 * @ingroup iface_zcr_remote_surface_v1 | 511 * @ingroup iface_zcr_remote_surface_v1 |
| 511 */ | 512 */ |
| 512 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING_SINCE_VERSION 2 | 513 #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING_SINCE_VERSION 2 |
| 514 /** |
| 515 * @ingroup iface_zcr_remote_surface_v1 |
| 516 */ |
| 517 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW_SINCE_VERSION 3 |
| 513 | 518 |
| 514 /** @ingroup iface_zcr_remote_surface_v1 */ | 519 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 515 static inline void | 520 static inline void |
| 516 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, void *user_data) | 521 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, void *user_data) |
| 517 { | 522 { |
| 518 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d
ata); | 523 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d
ata); |
| 519 } | 524 } |
| 520 | 525 |
| 521 /** @ingroup iface_zcr_remote_surface_v1 */ | 526 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 522 static inline void * | 527 static inline void * |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 static inline void | 601 static inline void |
| 597 zcr_remote_surface_v1_set_scale(struct zcr_remote_surface_v1 *zcr_remote_surface
_v1, wl_fixed_t scale) | 602 zcr_remote_surface_v1_set_scale(struct zcr_remote_surface_v1 *zcr_remote_surface
_v1, wl_fixed_t scale) |
| 598 { | 603 { |
| 599 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, | 604 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 600 ZCR_REMOTE_SURFACE_V1_SET_SCALE, scale); | 605 ZCR_REMOTE_SURFACE_V1_SET_SCALE, scale); |
| 601 } | 606 } |
| 602 | 607 |
| 603 /** | 608 /** |
| 604 * @ingroup iface_zcr_remote_surface_v1 | 609 * @ingroup iface_zcr_remote_surface_v1 |
| 605 * | 610 * |
| 606 * Request that surface needs a rectangular shadow. | 611 * [Deprecated] Request that surface needs a rectangular shadow. |
| 607 * | 612 * |
| 608 * This is only a request that the surface should have a rectangular | 613 * This is only a request that the surface should have a rectangular |
| 609 * shadow. The compositor may choose to ignore this request. | 614 * shadow. The compositor may choose to ignore this request. |
| 610 * | 615 * |
| 611 * The arguments are given in the output coordinate space and specifies | 616 * The arguments are given in the output coordinate space and specifies |
| 612 * the inner bounds of the shadow. | 617 * the inner bounds of the shadow. |
| 613 * | 618 * |
| 614 * The arguments are given in the output coordinate space. | 619 * The arguments are given in the output coordinate space. |
| 615 * Specifying zero width and height will disable the shadow. | 620 * Specifying zero width and height will disable the shadow. |
| 616 */ | 621 */ |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 * surface stops. The compositor may choose to stop the move regardless | 851 * surface stops. The compositor may choose to stop the move regardless |
| 847 * of this request. | 852 * of this request. |
| 848 */ | 853 */ |
| 849 static inline void | 854 static inline void |
| 850 zcr_remote_surface_v1_unset_moving(struct zcr_remote_surface_v1 *zcr_remote_surf
ace_v1) | 855 zcr_remote_surface_v1_unset_moving(struct zcr_remote_surface_v1 *zcr_remote_surf
ace_v1) |
| 851 { | 856 { |
| 852 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, | 857 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 853 ZCR_REMOTE_SURFACE_V1_UNSET_MOVING); | 858 ZCR_REMOTE_SURFACE_V1_UNSET_MOVING); |
| 854 } | 859 } |
| 855 | 860 |
| 861 /** |
| 862 * @ingroup iface_zcr_remote_surface_v1 |
| 863 * |
| 864 * Request that surface needs a rectangular shadow. |
| 865 * |
| 866 * This is only a request that the surface should have a rectangular |
| 867 * shadow. The compositor may choose to ignore this request. |
| 868 * |
| 869 * The arguments are given in the remote surface coordinate space and |
| 870 * specifies inner bounds of the shadow. Specifying zero width and height |
| 871 * will disable the shadow. |
| 872 */ |
| 873 static inline void zcr_remote_surface_v1_set_rectangular_surface_shadow( |
| 874 struct zcr_remote_surface_v1* zcr_remote_surface_v1, |
| 875 int32_t x, |
| 876 int32_t y, |
| 877 int32_t width, |
| 878 int32_t height) { |
| 879 wl_proxy_marshal((struct wl_proxy*)zcr_remote_surface_v1, |
| 880 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, x, y, |
| 881 width, height); |
| 882 } |
| 883 |
| 856 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0 | 884 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0 |
| 857 | 885 |
| 858 /** | 886 /** |
| 859 * @ingroup iface_zcr_notification_surface_v1 | 887 * @ingroup iface_zcr_notification_surface_v1 |
| 860 */ | 888 */ |
| 861 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 | 889 #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY_SINCE_VERSION 1 |
| 862 | 890 |
| 863 /** @ingroup iface_zcr_notification_surface_v1 */ | 891 /** @ingroup iface_zcr_notification_surface_v1 */ |
| 864 static inline void | 892 static inline void |
| 865 zcr_notification_surface_v1_set_user_data(struct zcr_notification_surface_v1 *zc
r_notification_surface_v1, void *user_data) | 893 zcr_notification_surface_v1_set_user_data(struct zcr_notification_surface_v1 *zc
r_notification_surface_v1, void *user_data) |
| (...skipping 26 matching lines...) Expand all Loading... |
| 892 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); | 920 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); |
| 893 | 921 |
| 894 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); | 922 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); |
| 895 } | 923 } |
| 896 | 924 |
| 897 #ifdef __cplusplus | 925 #ifdef __cplusplus |
| 898 } | 926 } |
| 899 #endif | 927 #endif |
| 900 | 928 |
| 901 #endif | 929 #endif |
| OLD | NEW |