Skip to content

Commit

Permalink
server: drop gtk-primary-selection support
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed Nov 3, 2020
1 parent 6c52f9c commit 2b24e55
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions river/Server.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand All @@ -315,5 +314,4 @@ fn handleOutputPowerManagementSetMode(listener: ?*c.wl_listener, data: ?*c_void)
.{wlr_output.name},
);
}

}
1 change: 0 additions & 1 deletion river/c.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 2b24e55

Please sign in to comment.