Start adding tags
Right now, essentially nothing has changed, there is still no multi- output support and not even a way to change/set/toggle/view/etc. tags. However, tags *are* implemented at a core level. Next step is to add keybinds for the various tag actions. After that, I will work on multi-output support.
This commit is contained in:
parent
87ec2d4f60
commit
b8d31de3ef
6 changed files with 160 additions and 106 deletions
|
|
@ -2,6 +2,8 @@
|
|||
//
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// Allocator used by the program. We use the c_allocator since we interact with C code
|
||||
// via zig-wayland (and, in the future as of 2026-01-26, other libraries, too).
|
||||
pub const allocator = std.heap.c_allocator;
|
||||
|
||||
pub const RiverColor = struct {
|
||||
|
|
@ -71,7 +73,7 @@ pub fn interfaceNotAdvertised(comptime WaylandGlobal: type) noreturn {
|
|||
std.posix.exit(1);
|
||||
}
|
||||
|
||||
/// Report that the given WaylandGlobal was advertised but the support version was too low exit the program
|
||||
/// Report that the given WaylandGlobal was advertised but the support version was too low and exit the program
|
||||
pub fn versionNotSupported(comptime WaylandGlobal: type, have_version: u32, need_version: u32) noreturn {
|
||||
log.err("The compositor only advertised {s} version {d} but version {d} is required. Exiting", .{ WaylandGlobal.interface.name, have_version, need_version });
|
||||
std.posix.exit(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue