Actually use focus_follows_pointer and pointer_warp_on_focus_change

This commit is contained in:
Ben Buhse 2026-01-27 15:30:30 -06:00
commit 676ca40891
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
5 changed files with 37 additions and 26 deletions

View file

@ -193,7 +193,7 @@ fn loadBordersChildBlock(config: *Config, parser: *kdl.Parser) !void {
}
}
/// Skips an entire child block in KDL
/// Skips an entire child block including any nested child blocks
fn skipChildBlock(_: *Config, parser: *kdl.Parser) !void {
log.warn("Unexpected child block. Skipping it", .{});
@ -216,10 +216,11 @@ fn skipChildBlock(_: *Config, parser: *kdl.Parser) !void {
}
}
/// Convert a KDL argument into a bool or null if the string is not a bool
/// "#true" and "true" => true
/// "#false" and "false" => false
/// else => null
/// Convert a KDL argument into a bool
///
/// if arg_str in ["#true", "true"], return true
/// if arg_str in ["#false", "false"], return false
/// else, return null
fn boolFromKdlStr(_: Config, arg_str: []const u8) ?bool {
if (mem.eql(u8, arg_str, "#true") or
mem.eql(u8, arg_str, "true"))