Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git
rwm: set tiled state
protocol/river-window-management-v1.xml | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/protocol/river-window-management-v1.xml b/protocol/river-window-management-v1.xml
index 3d443de..9f74ebc 100644
--- a/protocol/river-window-management-v1.xml
+++ b/protocol/river-window-management-v1.xml
@@ -196,7 +196,6 @@
following river_window_manager_v1.commit request.
TODO:
- - set tiled
- ssd/csd policy
</description>
@@ -370,6 +369,25 @@
<arg name="a" type="uint"/>
</request>
+ <request name="set_tiled">
+ <description summary="set window tiled state">
+ Inform the window that it is part of a tiled layout and adjacent to
+ other elements in the tiled layout on the given edges.
+
+ The window should use this information to change the style of its client
+ side decorations and avoid drawing e.g. drop shadows outside of the
+ window dimensions on the tiled edges.
+
+ Setting the edges argument to none informs the window that it is not
+ part of a tiled layout. If this request is never made, the window is
+ informed that it is not part of a tiled layout.
+
+ This request is double-buffered state and will not be applied until the
+ next river_window_manager_v1.commit request.
+ </description>
+ <arg name="edges" type="uint" enum="edges"/>
+ </request>
+
<request name="get_decoration">
<description summary="create a window decoration surface">
Create a window decoration surface for the window.