Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1695)

Unified Diff: third_party/wayland-protocols/protocol/remote-shell-protocol.c

Issue 2295323003: third_party: Update remote shell protocol to version 2 (Closed)
Patch Set: Migrate to "zcr" interfaces Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/protocol/remote-shell-protocol.c
diff --git a/third_party/wayland-protocols/protocol/remote-shell-protocol.c b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
index 1dd496ed691c333c125c5b1e1b7e35cd82bbe11d..fea995087c9ace85b759f67d5adfa39b53c8be56 100644
--- a/third_party/wayland-protocols/protocol/remote-shell-protocol.c
+++ b/third_party/wayland-protocols/protocol/remote-shell-protocol.c
@@ -73,7 +73,7 @@ static const struct wl_message zcr_remote_shell_v1_events[] = {
};
WL_EXPORT const struct wl_interface zcr_remote_shell_v1_interface = {
- "zcr_remote_shell_v1", 1,
+ "zcr_remote_shell_v1", 2,
3, zcr_remote_shell_v1_requests,
2, zcr_remote_shell_v1_events,
};
@@ -97,6 +97,8 @@ static const struct wl_message zcr_remote_surface_v1_requests[] = {
{ "unpin", "", types + 0 },
{ "set_system_modal", "", types + 0 },
{ "unset_system_modal", "", types + 0 },
+ { "set_moving", "2", types + 0 },
+ { "unset_moving", "2", types + 0 },
};
static const struct wl_message zcr_remote_surface_v1_events[] = {
@@ -105,8 +107,8 @@ static const struct wl_message zcr_remote_surface_v1_events[] = {
};
WL_EXPORT const struct wl_interface zcr_remote_surface_v1_interface = {
- "zcr_remote_surface_v1", 1,
- 18, zcr_remote_surface_v1_requests,
+ "zcr_remote_surface_v1", 2,
+ 20, zcr_remote_surface_v1_requests,
2, zcr_remote_surface_v1_events,
};

Powered by Google App Engine
This is Rietveld 408576698