diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-05-27 12:37:18 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-05-27 12:37:18 -0400 |
| commit | c8eaeceb0b5b661c5a11d57dadc905507c24c5ee (patch) | |
| tree | 8870a8acc8d92d10d64e9d3d9bfdd28dedb6eea7 /include | |
| parent | 4efe4038848344baf05b35d64eed7dac7185652d (diff) | |
Implement bindsym/bindcode --locked
Adds the --locked flag to bindsym and bindcode commands.
When a keyboard's associated seat has an exclusive client
(i.e, a screenlocker), then bindings are only executed if
they have the locked flag. When there is no such client,
this restriction is lifted.
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 33f52156..118981e3 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -28,6 +28,7 @@ struct sway_variable { struct sway_binding { int order; bool release; + bool locked; bool bindcode; list_t *keys; uint32_t modifiers; |
