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

commitb99cc154acc7a3270c55b28eadf5cf4b5fbdfb4f
parentea71650367
authorIsaac Freund <[email protected]>
date2025-12-10 14:18
river: remove dead code

 river/Server.zig | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/river/Server.zig b/river/Server.zig
index 43bec95..7ef7698 100644
--- a/river/Server.zig
+++ b/river/Server.zig
@@ -82,8 +82,6 @@ data_control_manager: *wlr.DataControlManagerV1,
 export_dmabuf_manager: *wlr.ExportDmabufManagerV1,
 screencopy_manager: *wlr.ScreencopyManagerV1,
 
-foreign_toplevel_manager: *wlr.ForeignToplevelManagerV1,
-
 scene: Scene,
 input_manager: InputManager,
 om: OutputManager,
@@ -149,8 +147,6 @@ pub fn init(server: *Server, runtime_xwayland: bool) !void {
         .export_dmabuf_manager = try wlr.ExportDmabufManagerV1.create(wl_server),
         .screencopy_manager = try wlr.ScreencopyManagerV1.create(wl_server),
 
-        .foreign_toplevel_manager = try wlr.ForeignToplevelManagerV1.create(wl_server),
-
         .config = try Config.init(),
 
         .scene = undefined,
@@ -328,7 +324,6 @@ fn blocklist(server: *Server, global: *const wl.Global) bool {
         global == server.layer_shell.global or
         global == server.layer_shell.wlr_shell.global or
         global == server.xkb_bindings.global or
-        global == server.foreign_toplevel_manager.global or
         global == server.screencopy_manager.global or
         global == server.export_dmabuf_manager.global or
         global == server.data_control_manager.global or