aboutsummaryrefslogtreecommitdiff
path: root/src/context.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-08-18 17:45:13 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2025-08-18 17:45:13 +0200
commit33e1de2710fe44512440e0e6055578d67dab330c (patch)
treedf8198ac5147f466bba600ca06dc1a319099d185 /src/context.zig
First sketch of wayland interface
**WARNING** this implementation is not working properly yet.
Diffstat (limited to 'src/context.zig')
-rw-r--r--src/context.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/context.zig b/src/context.zig
new file mode 100644
index 0000000..55480ce
--- /dev/null
+++ b/src/context.zig
@@ -0,0 +1,6 @@
+const std = @import("std");
+const wayland = @import("root.zig");
+const wl = wayland.wl;
+
+allocator: std.mem.Allocator,
+display: *wl.Display,