Implement the rest of river_layer_shell_v1

I still needed to call setDefault, as well as handle the .focus_*
events from the river_layer_shell_seat_v1.

I also fixed a memory leak where the output wasn't destroying its
river_layer_shell_output_v1.
This commit is contained in:
Ben Buhse 2026-02-14 15:34:46 -06:00
commit 1cfafc4fb3
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
2 changed files with 75 additions and 32 deletions

View file

@ -118,10 +118,10 @@ pub fn destroy(output: *Output) void {
window.link.remove();
window.destroy();
}
output.tag_layout_overrides.deinit(utils.gpa);
output.deinitWallpaperLayerSurface();
output.river_output_v1.destroy();
output.river_layer_shell_output_v1.destroy();
utils.gpa.destroy(output);
}