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

Unified Diff: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml

Issue 2666953004: third_party: Amend version 2 of remote shell protocol (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
diff --git a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
index 89d3e97c22acf152f712301aca8828cdea0429ef..e6855032a1e4caa54b1ed22c90b728d068788a60 100644
--- a/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
+++ b/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
@@ -382,6 +382,52 @@
<!-- Version 2 additions -->
+ <event name="configure" since="2">
+ <description summary="suggest a surface change">
+ The configure event asks the client to change surface state.
+
+ The origin arguments specify the position, in the compositor coordinate
+ space, of the virtual display used by the client to simulate multiple
+ displays. The client must offset window positions in set_window_geometry
+ requests by this origin in order to convert between coordinate spaces.
+
+ Clients should arrange their surface for the new state, and then send an
+ ack_configure request with the serial sent in this configure event at
+ some point before committing the new surface.
+
+ If the client receives multiple configure events before it can respond
+ to one, it is free to discard all but the last event it received.
+ </description>
+ <arg name="origin_x" type="int"/>
+ <arg name="origin_y" type="int"/>
+ <arg name="serial" type="uint"/>
+ </event>
+
+ <request name="ack_configure" since="2">
+ <description summary="ack a configure event">
+ When a configure event is received, if a client commits the
+ surface in response to the configure event, then the client
+ must make an ack_configure request sometime before the commit
+ request, passing along the serial of the configure event.
+
+ For instance, the compositor might use this information during display
+ configuration to change its coordinate space for set_window_geometry
+ requests only when the client has switched to the new coordinate space.
+
+ If the client receives multiple configure events before it
+ can respond to one, it only has to ack the last configure event.
+
+ A client is not required to commit immediately after sending
+ an ack_configure request - it may even ack_configure several times
+ before its next surface commit.
+
+ A client may send multiple ack_configure requests before committing, but
+ only the last request sent before a commit indicates which configure
+ event the client really is responding to.
+ </description>
+ <arg name="serial" type="uint" summary="the serial from the configure event"/>
+ </request>
+
<request name="set_moving" since="2">
<description summary="interactive move started">
Notifies the compositor when an interactive, user-driven move of the
« no previous file with comments | « third_party/wayland-protocols/protocol/remote-shell-protocol.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698