server: drop gtk-primary-selection support

This commit is contained in:
Isaac Freund 2020-11-03 16:10:50 +01:00
parent 6c52f9cc2b
commit 2b24e55375
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
2 changed files with 1 additions and 4 deletions

View file

@ -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);
@ -315,5 +314,4 @@ fn handleOutputPowerManagementSetMode(listener: ?*c.wl_listener, data: ?*c_void)
.{wlr_output.name},
);
}
}

View file

@ -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");