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 67075749d39a18bf125e0ec382f3f4ee4107b40a..d22d969c74df250f636f2dfeb595b85ee82a6865 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 |
@@ -599,6 +599,28 @@ struct zwp_remote_surface_v1_interface { |
void (*pin_with_trusted_flag)(struct wl_client *client, |
struct wl_resource *resource, |
int32_t trusted); |
+ /** |
+ * start client-driven drag |
+ * |
+ * Notifies the compositor when a client-driven drag of the |
+ * surface starts. The compositor may assume that subsequent |
+ * set_window_geometry requests are position updates until it |
+ * receives a "drop" request. |
+ * @since 12 |
+ */ |
+ void (*drag)(struct wl_client *client, |
+ struct wl_resource *resource); |
+ /** |
+ * stop client-driven drag |
+ * |
+ * Notifies the compositor when a client-driven drag of the |
+ * surface stops, and whether it was reverted. The compositor may |
+ * choose to stop the drag regardless of this request. |
+ * @since 12 |
+ */ |
+ void (*drop)(struct wl_client *client, |
+ struct wl_resource *resource, |
+ uint32_t revert); |
}; |
#define ZWP_REMOTE_SURFACE_V1_SET_FULLSCREEN 0 |