| 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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 594 * @ingroup iface_zcr_remote_surface_v1 | 594 * @ingroup iface_zcr_remote_surface_v1 |
| 595 */ | 595 */ |
| 596 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 | 596 #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL_SINCE_VERSION 1 |
| 597 /** | 597 /** |
| 598 * @ingroup iface_zcr_remote_surface_v1 | 598 * @ingroup iface_zcr_remote_surface_v1 |
| 599 */ | 599 */ |
| 600 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW_SINCE_VERSION 2 | 600 #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW_SINCE_VERSION 2 |
| 601 /** | 601 /** |
| 602 * @ingroup iface_zcr_remote_surface_v1 | 602 * @ingroup iface_zcr_remote_surface_v1 |
| 603 */ | 603 */ |
| 604 #define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 3 | 604 #define ZCR_REMOTE_SURFACE_V1_SET_AUTOHIDE_SYSTEMUI_SINCE_VERSION 3 |
| 605 /** | 605 /** |
| 606 * @ingroup iface_zcr_remote_surface_v1 | 606 * @ingroup iface_zcr_remote_surface_v1 |
| 607 */ | 607 */ |
| 608 #define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 3 | 608 #define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 4 |
| 609 /** |
| 610 * @ingroup iface_zcr_remote_surface_v1 |
| 611 */ |
| 612 #define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 4 |
| 609 | 613 |
| 610 /** @ingroup iface_zcr_remote_surface_v1 */ | 614 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 611 static inline void | 615 static inline void |
| 612 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, void *user_data) | 616 zcr_remote_surface_v1_set_user_data(struct zcr_remote_surface_v1 *zcr_remote_sur
face_v1, void *user_data) |
| 613 { | 617 { |
| 614 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d
ata); | 618 wl_proxy_set_user_data((struct wl_proxy *) zcr_remote_surface_v1, user_d
ata); |
| 615 } | 619 } |
| 616 | 620 |
| 617 /** @ingroup iface_zcr_remote_surface_v1 */ | 621 /** @ingroup iface_zcr_remote_surface_v1 */ |
| 618 static inline void * | 622 static inline void * |
| (...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 static inline void | 939 static inline void |
| 936 zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v
1 *zcr_remote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) | 940 zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v
1 *zcr_remote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height) |
| 937 { | 941 { |
| 938 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, | 942 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 939 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, x
, y, width, height); | 943 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, x
, y, width, height); |
| 940 } | 944 } |
| 941 | 945 |
| 942 /** | 946 /** |
| 943 * @ingroup iface_zcr_remote_surface_v1 | 947 * @ingroup iface_zcr_remote_surface_v1 |
| 944 * | 948 * |
| 949 * Suggests whether or not the surface should autohide the systemui when it |
| 950 * is made active. |
| 951 * |
| 952 static inline void |
| 953 zcr_remote_surface_v1_set_auto_hide_systemui(struct zcr_remote_surface_v1 |
| 954 *zcr_remote_surface_v1, int32_t autohide) |
| 955 { |
| 956 wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1, |
| 957 ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, autohide); |
| 958 } |
| 959 |
| 960 /** |
| 961 * @ingroup iface_zcr_remote_surface_v1 |
| 962 * |
| 945 * When a configure event is received, if a client commits the | 963 * When a configure event is received, if a client commits the |
| 946 * surface in response to the configure event, then the client | 964 * surface in response to the configure event, then the client |
| 947 * must make an ack_configure request sometime before the commit | 965 * must make an ack_configure request sometime before the commit |
| 948 * request, passing along the serial of the configure event. | 966 * request, passing along the serial of the configure event. |
| 949 * | 967 * |
| 950 * For instance, the compositor might use this information during display | 968 * For instance, the compositor might use this information during display |
| 951 * configuration to change its coordinate space for set_window_geometry | 969 * configuration to change its coordinate space for set_window_geometry |
| 952 * requests only when the client has switched to the new coordinate space. | 970 * requests only when the client has switched to the new coordinate space. |
| 953 * | 971 * |
| 954 * If the client receives multiple configure events before it | 972 * If the client receives multiple configure events before it |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); | 1048 ZCR_NOTIFICATION_SURFACE_V1_DESTROY); |
| 1031 | 1049 |
| 1032 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); | 1050 wl_proxy_destroy((struct wl_proxy *) zcr_notification_surface_v1); |
| 1033 } | 1051 } |
| 1034 | 1052 |
| 1035 #ifdef __cplusplus | 1053 #ifdef __cplusplus |
| 1036 } | 1054 } |
| 1037 #endif | 1055 #endif |
| 1038 | 1056 |
| 1039 #endif | 1057 #endif |
| OLD | NEW |