mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
bindings: add minimize/maximize/fullscreen actions
These actions are by default not bound to anything.
This commit is contained in:
parent
1f904fc257
commit
65ff582358
5 changed files with 39 additions and 0 deletions
6
config.c
6
config.c
|
|
@ -58,8 +58,14 @@ static const char *binding_action_map[] = {
|
|||
[BIND_ACTION_FONT_SIZE_DOWN] = "font-decrease",
|
||||
[BIND_ACTION_FONT_SIZE_RESET] = "font-reset",
|
||||
[BIND_ACTION_SPAWN_TERMINAL] = "spawn-terminal",
|
||||
[BIND_ACTION_MINIMIZE] = "minimize",
|
||||
[BIND_ACTION_MAXIMIZE] = "maximize",
|
||||
[BIND_ACTION_FULLSCREEN] = "fullscreen",
|
||||
};
|
||||
|
||||
static_assert(ALEN(binding_action_map) == BIND_ACTION_COUNT,
|
||||
"binding action map size mismatch");
|
||||
|
||||
static char *
|
||||
get_shell(void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue