diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 08:34:09 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-03-12 08:34:09 +0000 |
| commit | 65ff582358c07c8bb69f56dc8192c86d21b620d3 (patch) | |
| tree | 24b7457d8dabdb8026312d4808a7e0b85224dcda /config.c | |
| parent | quirks: weston_csd_{on,off}: don't do anything in fullscreen mode (diff) | |
bindings: add minimize/maximize/fullscreen actions
These actions are by default not bound to anything.
Diffstat (limited to 'config.c')
| -rw-r--r-- | config.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |
