Create wlr_viewporter
This commit is contained in:
parent
1e58e8b7f8
commit
6f9ecd4eda
2 changed files with 2 additions and 0 deletions
|
@ -136,6 +136,7 @@ pub fn init(self: *Self) !void {
|
|||
_ = 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_screencopy_manager_v1_create(self.wl_display) orelse return error.OutOfMemory;
|
||||
_ = c.wlr_viewporter_create(self.wl_display) orelse return error.OutOfMemory;
|
||||
_ = c.wlr_xdg_output_manager_v1_create(self.wl_display, self.root.wlr_output_layout) orelse
|
||||
return error.OutOfMemory;
|
||||
}
|
||||
|
|
|
@ -50,6 +50,7 @@ pub usingnamespace @cImport({
|
|||
@cInclude("wlr/types/wlr_primary_selection_v1.h");
|
||||
@cInclude("wlr/types/wlr_screencopy_v1.h");
|
||||
@cInclude("wlr/types/wlr_seat.h");
|
||||
@cInclude("wlr/types/wlr_viewporter.h");
|
||||
@cInclude("wlr/types/wlr_xcursor_manager.h");
|
||||
@cInclude("wlr/types/wlr_xdg_decoration_v1.h");
|
||||
@cInclude("wlr/types/wlr_xdg_output_v1.h");
|
||||
|
|
Loading…
Reference in a new issue