Create wlr_export_dmabuf_manager_v1

This commit is contained in:
Leon Henrik Plickat 2020-10-06 19:41:11 +02:00 committed by Isaac Freund
parent 18f5fcb1ef
commit 1e58e8b7f8
2 changed files with 2 additions and 0 deletions

View file

@ -133,6 +133,7 @@ pub fn init(self: *Self) !void {
// These all free themselves when the wl_display is destroyed // These all free themselves when the wl_display is destroyed
_ = c.wlr_data_device_manager_create(self.wl_display) orelse return error.OutOfMemory; _ = c.wlr_data_device_manager_create(self.wl_display) orelse return error.OutOfMemory;
_ = c.wlr_data_control_manager_v1_create(self.wl_display) orelse return error.OutOfMemory; _ = c.wlr_data_control_manager_v1_create(self.wl_display) orelse return error.OutOfMemory;
_ = c.wlr_export_dmabuf_manager_v1_create(self.wl_display) orelse return error.OutOfMemory;
_ = c.wlr_gamma_control_manager_v1_create(self.wl_display) orelse return error.OutOfMemory; _ = c.wlr_gamma_control_manager_v1_create(self.wl_display) orelse return error.OutOfMemory;
_ = c.wlr_screencopy_manager_v1_create(self.wl_display) orelse return error.OutOfMemory; _ = c.wlr_screencopy_manager_v1_create(self.wl_display) orelse return error.OutOfMemory;
_ = c.wlr_xdg_output_manager_v1_create(self.wl_display, self.root.wlr_output_layout) orelse _ = c.wlr_xdg_output_manager_v1_create(self.wl_display, self.root.wlr_output_layout) orelse

View file

@ -34,6 +34,7 @@ pub usingnamespace @cImport({
@cInclude("wlr/types/wlr_cursor.h"); @cInclude("wlr/types/wlr_cursor.h");
@cInclude("wlr/types/wlr_data_control_v1.h"); @cInclude("wlr/types/wlr_data_control_v1.h");
@cInclude("wlr/types/wlr_data_device.h"); @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_gamma_control_v1.h");
@cInclude("wlr/types/wlr_gtk_primary_selection.h"); @cInclude("wlr/types/wlr_gtk_primary_selection.h");
@cInclude("wlr/types/wlr_idle.h"); @cInclude("wlr/types/wlr_idle.h");