diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-08-24 07:08:31 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-08-24 07:08:31 +0200 |
| commit | e66af367ddc2a17e8218efd37ddabd3a6b7557a4 (patch) | |
| tree | f363c1661902760be57da31f937ff842e560b44e /src/wl/shm/pool.zig | |
| parent | c2e723ca28321e09fbf58f396cb9e98591344a7e (diff) | |
Add wl.shm
Diffstat (limited to 'src/wl/shm/pool.zig')
| -rw-r--r-- | src/wl/shm/pool.zig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wl/shm/pool.zig b/src/wl/shm/pool.zig new file mode 100644 index 0000000..dc30d1b --- /dev/null +++ b/src/wl/shm/pool.zig @@ -0,0 +1,9 @@ +const wayland = @import("../../root.zig"); +const Format = @import("root.zig").Format; + +pub const Events = wayland.EventSet(@This(), .{}); +pub const Requests = union(enum) { + create_buffer: struct { u32, u32, u32, u32, u32, Format }, + destroy: struct {}, + resize: struct { u32 }, +}; |