From 956ecb061b1862a4b632c8d5d6b6fa4318e1f640 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 22 Aug 2025 20:12:56 +0200 Subject: object refactor and add wl output Now the Object is held by the registry instead of the struct its referencing and the struct only has a `handle` which is a usize. --- src/wl/output/geometry.zig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/wl/output/geometry.zig (limited to 'src/wl/output/geometry.zig') diff --git a/src/wl/output/geometry.zig b/src/wl/output/geometry.zig new file mode 100644 index 0000000..2dfcf2f --- /dev/null +++ b/src/wl/output/geometry.zig @@ -0,0 +1,12 @@ +const Subpixel = @import("root.zig").Subpixel; +const Transform = @import("root.zig").Transform; + +x: u32, +y: u32, +physical_width: u32, +physical_height: u32, +subpixel: Subpixel, +make: []const u8, +model: []const u8, +transform: Transform, + -- cgit v1.2.3-70-g09d2