diff options
| author | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2020-10-06 19:53:58 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-10-06 20:19:07 +0200 |
| commit | 6f9ecd4edaff143b9d0e761e4b3c7fcd9d7a0a32 (patch) | |
| tree | 7b1697a169a34275644154077d9216aaffbae965 | |
| parent | 1e58e8b7f83be091f9e503b472202892ee8100c5 (diff) | |
| download | river-6f9ecd4edaff143b9d0e761e4b3c7fcd9d7a0a32.tar.gz river-6f9ecd4edaff143b9d0e761e4b3c7fcd9d7a0a32.tar.xz | |
Create wlr_viewporter
| -rw-r--r-- | river/Server.zig | 1 | ||||
| -rw-r--r-- | river/c.zig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/river/Server.zig b/river/Server.zig index 6107f47..4582999 100644 --- a/river/Server.zig +++ b/river/Server.zig @@ -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; } diff --git a/river/c.zig b/river/c.zig index dd9684c..e772be9 100644 --- a/river/c.zig +++ b/river/c.zig @@ -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"); |
