Binding for toggling window float on top (macOS only)

This adds a keybinding and apprt action for #7237.
This commit is contained in:
Mitchell Hashimoto
2025-05-01 09:29:34 -07:00
parent a6fd499019
commit 6e11d947e7
10 changed files with 173 additions and 60 deletions

View File

@@ -346,6 +346,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Toggle the window decorations.",
}},
.toggle_window_float_on_top => comptime &.{.{
.action = .toggle_window_float_on_top,
.title = "Toggle Float on Top",
.description = "Toggle the float on top state of the current window.",
}},
.toggle_secure_input => comptime &.{.{
.action = .toggle_secure_input,
.title = "Toggle Secure Input",