aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.h
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-07 21:43:00 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-07 21:43:00 +0100
commit55f63935ab9319da8e145b49edc1a7ae3e6782c6 (patch)
treea854f1068b7360952835b38bc38a1138bf1de7f0 /include/config.h
parentMerge pull request #434 from mikkeloscar/detect-modifier (diff)
downloadsway-55f63935ab9319da8e145b49edc1a7ae3e6782c6.tar.gz
sway-55f63935ab9319da8e145b49edc1a7ae3e6782c6.tar.zst
sway-55f63935ab9319da8e145b49edc1a7ae3e6782c6.zip
Implement bindsym --release
This is a "simple" version of --release (same as i3) that only supports a binding that contain one normal key. e.g.: bindsym --release $mod+x exec somthing-fun I didn't bother implementing it for a combination like `$mod+x+z` since it is a bit tricky to get right and also a bit weird to actually do on a keyboard.
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 5e1c39f3..8220f804 100644
--- a/include/config.h
+++ b/include/config.h
@@ -22,6 +22,7 @@ struct sway_variable {
22 */ 22 */
23struct sway_binding { 23struct sway_binding {
24 int order; 24 int order;
25 bool release;
25 list_t *keys; 26 list_t *keys;
26 uint32_t modifiers; 27 uint32_t modifiers;
27 char *command; 28 char *command;