diff --git a/river/Server.zig b/river/Server.zig index 318e16f..3c876b1 100644 --- a/river/Server.zig +++ b/river/Server.zig @@ -128,7 +128,6 @@ pub fn init(self: *Self) !void { // Set up primary selection _ = c.wlr_primary_selection_v1_device_manager_create(self.wl_display); - _ = c.wlr_gtk_primary_selection_device_manager_create(self.wl_display); self.config = try Config.init(); try self.decoration_manager.init(self); @@ -304,7 +303,7 @@ fn handleOutputPowerManagementSetMode(listener: ?*c.wl_listener, data: ?*c_void) log.debug( .server, "{} dpms for output {}", - .{log_text, wlr_output.name}, + .{ log_text, wlr_output.name }, ); c.wlr_output_enable(wlr_output, enable); @@ -315,5 +314,4 @@ fn handleOutputPowerManagementSetMode(listener: ?*c.wl_listener, data: ?*c_void) .{wlr_output.name}, ); } - } diff --git a/river/c.zig b/river/c.zig index 1a05c44..7670f58 100644 --- a/river/c.zig +++ b/river/c.zig @@ -38,7 +38,6 @@ pub usingnamespace @cImport({ @cInclude("wlr/types/wlr_data_device.h"); @cInclude("wlr/types/wlr_export_dmabuf_v1.h"); @cInclude("wlr/types/wlr_gamma_control_v1.h"); - @cInclude("wlr/types/wlr_gtk_primary_selection.h"); @cInclude("wlr/types/wlr_idle.h"); @cInclude("wlr/types/wlr_input_device.h"); @cInclude("wlr/types/wlr_input_inhibitor.h");