| 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 989e6e4d77cdbc5f9fd8fc7cadc4ff90e65fa762..c9bc8261f361c669793b9527d270ec203736ac72 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
|
| @@ -429,6 +429,7 @@ zcr_remote_surface_v1_add_listener(struct zcr_remote_surface_v1 *zcr_remote_surf
|
| #define ZCR_REMOTE_SURFACE_V1_UNSET_SYSTEM_MODAL 17
|
| #define ZCR_REMOTE_SURFACE_V1_SET_MOVING 18
|
| #define ZCR_REMOTE_SURFACE_V1_UNSET_MOVING 19
|
| +#define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW 20
|
|
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| @@ -510,6 +511,10 @@ 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_UNSET_MOVING_SINCE_VERSION 2
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + */
|
| +#define ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW_SINCE_VERSION 3
|
|
|
| /** @ingroup iface_zcr_remote_surface_v1 */
|
| static inline void
|
| @@ -603,7 +608,7 @@ zcr_remote_surface_v1_set_scale(struct zcr_remote_surface_v1 *zcr_remote_surface
|
| /**
|
| * @ingroup iface_zcr_remote_surface_v1
|
| *
|
| - * Request that surface needs a rectangular shadow.
|
| + * [Deprecated] Request that surface needs a rectangular shadow.
|
| *
|
| * This is only a request that the surface should have a rectangular
|
| * shadow. The compositor may choose to ignore this request.
|
| @@ -853,6 +858,27 @@ zcr_remote_surface_v1_unset_moving(struct zcr_remote_surface_v1 *zcr_remote_surf
|
| ZCR_REMOTE_SURFACE_V1_UNSET_MOVING);
|
| }
|
|
|
| +/**
|
| + * @ingroup iface_zcr_remote_surface_v1
|
| + *
|
| + * Request that surface needs a rectangular shadow.
|
| + *
|
| + * This is only a request that the surface should have a rectangular
|
| + * shadow. The compositor may choose to ignore this request.
|
| + *
|
| + * The arguments are given in the remote surface coordinate space and
|
| + * specifies inner bounds of the shadow.
|
| + *
|
| + * The arguments are given in the remote surface coordinate space.
|
| + * Specifying zero width and height will disable the shadow.
|
| + */
|
| +static inline void
|
| +zcr_remote_surface_v1_set_rectangular_surface_shadow(struct zcr_remote_surface_v1 *zcr_remote_surface_v1, int32_t x, int32_t y, int32_t width, int32_t height)
|
| +{
|
| + wl_proxy_marshal((struct wl_proxy *) zcr_remote_surface_v1,
|
| + ZCR_REMOTE_SURFACE_V1_SET_RECTANGULAR_SURFACE_SHADOW, x, y, width, height);
|
| +}
|
| +
|
| #define ZCR_NOTIFICATION_SURFACE_V1_DESTROY 0
|
|
|
| /**
|
|
|