diff options
author | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-05-27 12:37:18 -0400 |
---|---|---|
committer | frsfnrrg <frsfnrrg@users.noreply.github.com> | 2018-05-27 13:28:02 -0400 |
commit | a78a5684ea8a19e54d797ab6cddd2f81f88360a5 (patch) | |
tree | 8870a8acc8d92d10d64e9d3d9bfdd28dedb6eea7 /include/sway | |
parent | 0743b21cc89141c6783210a1f20b6b372b24ae59 (diff) | |
download | sway-a78a5684ea8a19e54d797ab6cddd2f81f88360a5.tar.xz |
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/sway')
-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; |