| 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..4e6a4c84ad345614a30b1fa64dc36de9c3ba979c 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
|
| @@ -370,22 +370,22 @@ struct zcr_remote_surface_v1_interface {
|
| void (*set_scale)(struct wl_client *client,
|
| struct wl_resource *resource,
|
| wl_fixed_t scale);
|
| - /**
|
| - * 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 output coordinate space and
|
| - * specifies the inner bounds of the shadow.
|
| - *
|
| - * The arguments are given in the output coordinate space.
|
| - * Specifying zero width and height will disable the shadow.
|
| - */
|
| - void (*set_rectangular_shadow)(struct wl_client *client,
|
| + /**
|
| + * set 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.
|
| + *
|
| + * The arguments are given in the output coordinate space and
|
| + * specifies the inner bounds of the shadow.
|
| + *
|
| + * The arguments are given in the output coordinate space.
|
| + * Specifying zero width and height will disable the shadow.
|
| + */
|
| + void (*set_rectangular_shadow)(struct wl_client *client,
|
| struct wl_resource *resource,
|
| int32_t x,
|
| int32_t y,
|
| @@ -559,6 +559,26 @@ 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. 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
|
|
|