| 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 c0662f65f3993728f998f64a0093310c33562f44..6f8818459dd15495626bed8389296db754f63361 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
|
| @@ -229,6 +229,30 @@ enum zcr_remote_shell_v1_layout_mode {
|
| };
|
| #endif /* ZCR_REMOTE_SHELL_V1_LAYOUT_MODE_ENUM */
|
|
|
| +#ifndef ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_ENUM
|
| +#define ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_ENUM
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + * shelf autohide behavior
|
| + *
|
| + * Determine the autohide behavior of the shelf.
|
| + */
|
| +enum zcr_remote_shell_v1_shelf_autohide_state {
|
| + /**
|
| + * shelf is visible
|
| + */
|
| + ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_VISIBLE = 1,
|
| + /**
|
| + * shelf autohides and is not sticky
|
| + */
|
| + ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_AUTOHIDE_NON_STICKY = 2,
|
| + /**
|
| + * shelf autohides and is sticky
|
| + */
|
| + ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_AUTOHIDE_STICKY = 3,
|
| +};
|
| +#endif /* ZCR_REMOTE_SHELL_V1_SHELF_AUTOHIDE_STATE_ENUM */
|
| +
|
| /**
|
| * @ingroup iface_zcr_remote_shell_v1
|
| * @struct zcr_remote_shell_v1_listener
|
| @@ -601,11 +625,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_AUTOHIDE_SYSTEMUI_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
|
| @@ -942,6 +970,20 @@ zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| *
|
| + * Requests how the surface will autohide the system UI when it is made
|
| + * active.
|
| + *
|
| +static inline void
|
| +zcr_remote_surface_v1_set_auto_hide_systemui(struct zcr_remote_surface_v1
|
| +*zcr_remote_surface_v1, uint32_t autohide)
|
| +{
|
| + wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
|
| + ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, autohide);
|
| +}
|
| +
|
| +/**
|
| + * @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
|
|
|