From a78a5684ea8a19e54d797ab6cddd2f81f88360a5 Mon Sep 17 00:00:00 2001 From: frsfnrrg Date: Sun, 27 May 2018 12:37:18 -0400 Subject: 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. --- include/sway/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3-54-g00ecf