git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit5669079ba46eeaccbb50c87e1892ebd249d1a0f0
parent132666f19e
authorIsaac Freund <[email protected]>
date2024-04-26 11:04
rwm: disambiguate some things based on feedback

 protocol/river-window-management-v1.xml | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/protocol/river-window-management-v1.xml b/protocol/river-window-management-v1.xml
index c04ea21..95475f8 100644
--- a/protocol/river-window-management-v1.xml
+++ b/protocol/river-window-management-v1.xml
@@ -220,8 +220,9 @@
         This request proposes dimensions for the window in the compositor's
         logical coordinate space.
 
-        The width/height must be greater than or equal to zero. If the width or
-        height is zero the window will be allowed to decide its own dimensions.
+        The width and height must be greater than or equal to zero. If the width
+        or height is zero the window will be allowed to decide its own
+        dimensions.
 
         The window may not take the exact dimensions proposed. The actual
         dimensions taken by the window will be sent in a subsequent
@@ -391,8 +392,8 @@
 
     <request name="set_position">
       <description summary="set absolute position of the node">
-        Set the absolute position of the node in the compositor's logical coordinate
-        space. The x/y coordinates may be positive or negative.
+        Set the absolute position of the node in the compositor's logical
+        coordinate space. The x and y coordinates may be positive or negative.
 
         If this request is never sent, the position of the node is undefined by
         this protocol and left up to the compositor.
@@ -446,7 +447,11 @@
 
   <interface name="river_output_v1" version="1">
     <description summary="a logical output">
-      TODO
+      An area in the compositor's logical coordinate space that should be
+      treated as a single output for window management purposes. This area may
+      correspond to a single physical output or multiple physical outputs in the
+      case of mirroring or tiled monitors depending on the hardware and
+      compositor configuration.
     </description>
 
     <request name="destroy" type="destructor">
@@ -481,7 +486,7 @@
     <event name="position">
       <description summary="output position">
         This event indicates the position of the output in the compositor's
-        logical coordinate space. The x/y coordinates may be positive or
+        logical coordinate space. The x and y coordinates may be positive or
         negative.
 
         This event is double-buffered state and will be followed by a
@@ -498,7 +503,7 @@
     <event name="dimensions">
       <description summary="output dimensions">
         This event indicates the dimensions of the output in the compositor's
-        logical coordinate space. The width/height will always be strictly
+        logical coordinate space. The width and height will always be strictly
         greater than zero.
 
         This event is double-buffered state and will be followed by a