| Index: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
|
| diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
|
| index 1590041142dec3f66b51f3d69c133f1a2d4563d8..5338cd73a9efa465e294929433b9e12087120dbc 100644
|
| --- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
|
| +++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h
|
| @@ -1,4 +1,4 @@
|
| -/* Generated by wayland-scanner 1.11.0 */
|
| +/* Generated by wayland-scanner 1.12.90 */
|
|
|
| #ifndef REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H
|
| #define REMOTE_SHELL_UNSTABLE_V1_CLIENT_PROTOCOL_H
|
| @@ -376,6 +376,30 @@ zcr_remote_shell_v1_get_notification_surface(struct zcr_remote_shell_v1 *zcr_rem
|
| return (struct zcr_notification_surface_v1 *) id;
|
| }
|
|
|
| +#ifndef ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM
|
| +#define ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + * systemui visibility behavior
|
| + *
|
| + * Determine the visibility behavior of the system UI.
|
| + */
|
| +enum zcr_remote_surface_v1_systemui_visibility_state {
|
| + /**
|
| + * system ui is visible
|
| + */
|
| + ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_VISIBLE = 1,
|
| + /**
|
| + * system ui autohides and is not sticky
|
| + */
|
| + ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_AUTOHIDE_NON_STICKY = 2,
|
| + /**
|
| + * system ui autohides and is sticky
|
| + */
|
| + ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_AUTOHIDE_STICKY = 3,
|
| +};
|
| +#endif /* ZCR_REMOTE_SURFACE_V1_SYSTEMUI_VISIBILITY_STATE_ENUM */
|
| +
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| * @struct zcr_remote_surface_v1_listener
|
| @@ -431,7 +455,7 @@ struct zcr_remote_surface_v1_listener {
|
| * If the client receives multiple configure events before it can
|
| * respond to one, it is free to discard all but the last event it
|
| * received.
|
| - * @since 3
|
| + * @since 4
|
| */
|
| void (*configure)(void *data,
|
| struct zcr_remote_surface_v1 *zcr_remote_surface_v1,
|
| @@ -471,8 +495,9 @@ zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
|
| #define ZCR_REMOTE_SURFACE_V1_SET_SYSTEM_MODAL 16
|
| #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17
|
| #define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW 18
|
| -#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE 19
|
| -#define ZCR_REMOTE_SURFACE_V1_MOVE 20
|
| +#define ZCR_REMOTE_SURFACE_V1_SET_SYSTEMUI_VISIBILITY 19
|
| +#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE 20
|
| +#define ZCR_REMOTE_SURFACE_V1_MOVE 21
|
|
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| @@ -485,7 +510,7 @@ zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| */
|
| -#define ZCR_REMOTE_SURFACE_V1_CONFIGURE_SINCE_VERSION 3
|
| +#define ZCR_REMOTE_SURFACE_V1_CONFIGURE_SINCE_VERSION 4
|
|
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| @@ -566,11 +591,15 @@ zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| */
|
| -#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 3
|
| +#define ZCR_REMOTE_SURFACE_V1_SET_SYSTEMUI_VISIBILITY_SINCE_VERSION 3
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| */
|
| -#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 3
|
| +#define ZCR_REMOTE_SURFACE_V1_ACK_CONFIGURE_SINCE_VERSION 4
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + */
|
| +#define ZCR_REMOTE_SURFACE_V1_MOVE_SINCE_VERSION 4
|
|
|
| /** @ingroup iface_zcr_remote_surface_v1 */
|
| static inline void
|
| @@ -907,6 +936,18 @@ zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| *
|
| + * Requests how the surface will change the visibility of the system UI when it is made active.
|
| + */
|
| +static inline void
|
| +zcr_remote_surface_v1_set_systemui_visibility(struct zcr_remote_surface_v1 *zcr_remote_surface_v1, uint32_t visibility)
|
| +{
|
| + wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
|
| + ZCR_REMOTE_SURFACE_V1_SET_SYSTEMUI_VISIBILITY, visibility);
|
| +}
|
| +
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + *
|
| * When a configure event is received, if a client commits the
|
| * surface in response to the configure event, then the client
|
| * must make an ack_configure request sometime before the commit
|
|
|