diff options
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 }, +}; |