| Index: third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
|
| diff --git a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
|
| index 06cc4db23069f926c7a85b630542c549130cb8c5..2b19dd133529ac7b974352b3f48814c2220dc1a8 100644
|
| --- a/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
|
| +++ b/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h
|
| @@ -373,7 +373,7 @@ struct zcr_remote_surface_v1_interface {
|
| /**
|
| * set a rectangular shadow
|
| *
|
| - * 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
|
| @@ -559,6 +559,28 @@ struct zcr_remote_surface_v1_interface {
|
| */
|
| void (*unset_moving)(struct wl_client *client,
|
| struct wl_resource *resource);
|
| + /**
|
| + * set a rectangular shadow
|
| + *
|
| + * 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.
|
| + * @since 3
|
| + */
|
| + void (*set_rectangular_surface_shadow)(struct wl_client *client,
|
| + struct wl_resource *resource,
|
| + int32_t x,
|
| + int32_t y,
|
| + int32_t width,
|
| + int32_t height);
|
| };
|
|
|
| #define ZCR_REMOTE_SURFACE_V1_CLOSE 0
|
|
|