From 6491310e12c3d6bb91b7d9cd456bd3d83695b985 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Wed, 20 Mar 2024 13:23:36 +0100 Subject: [PATCH] layer-shell: crop surfaces to output bounds --- deps/zig-wlroots | 2 +- river/Output.zig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/zig-wlroots b/deps/zig-wlroots index c1e19f0..a579f9f 160000 --- a/deps/zig-wlroots +++ b/deps/zig-wlroots @@ -1 +1 @@ -Subproject commit c1e19f0b9fbdaf4f54a4a2129cf2cd7e68ec09ea +Subproject commit a579f9f7dae72c960e8804737109815c78e471f4 diff --git a/river/Output.zig b/river/Output.zig index 970bc8e..e8b72b7 100644 --- a/river/Output.zig +++ b/river/Output.zig @@ -374,6 +374,7 @@ fn sendLayerConfigures( layer_surface.scene_layer_surface.tree.node.x, layer_surface.scene_layer_surface.tree.node.y, ); + layer_surface.scene_layer_surface.tree.node.subsurfaceTreeSetClip(&full_box); } } }