diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-05 10:02:28 -1000 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2024-10-05 10:05:06 -1000 |
| commit | f9e6d6efa6f1983ec7d9043e450ff362d59cef2b (patch) | |
| tree | 8be2cdf6fa17aa8b4d1b361785ae9af9c63f52e2 /src/App.zig | |
| parent | 6fdfa9d4915573137561609f1f9718dfde5e1750 (diff) | |
macos: forward key events to the app when no windows exist
Diffstat (limited to 'src/App.zig')
| -rw-r--r-- | src/App.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/App.zig b/src/App.zig index 7e82bf007..df305ae45 100644 --- a/src/App.zig +++ b/src/App.zig @@ -294,9 +294,6 @@ pub fn keyEvent( .leaf => |leaf| leaf, }; - // We only care about global keybinds - if (!leaf.flags.global) return false; - // Perform the action self.performAllAction(rt_app, leaf.action) catch |err| { log.warn("error performing global keybind action action={s} err={}", .{ |
