server: drop gtk-primary-selection support
This commit is contained in:
parent
6c52f9cc2b
commit
2b24e55375
@ -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},
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user