Implement passthrough mode
When active, key presses are passed directly to the focused window. I've mostly used this for testing beansprout, but I'm sure there are other uses.
This commit is contained in:
parent
5f4d80f313
commit
1b37ab7afd
4 changed files with 50 additions and 12 deletions
|
|
@ -145,6 +145,7 @@ pub fn load(config: *Config, parser: *kdl.Parser, hostname: ?[]const u8) !void {
|
|||
.swap_next,
|
||||
.swap_prev,
|
||||
.center_float,
|
||||
.toggle_passthrough,
|
||||
=> |cmd| {
|
||||
// None of these have arguments, just create the union and give it back
|
||||
break :sw @unionInit(XkbBindings.Command, @tagName(cmd), {});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue