]> git.sur5r.net Git - i3/i3/commit - src/config.c
ignore modifiers for KeyRelease bindings
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 6 Sep 2012 15:24:30 +0000 (17:24 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 6 Sep 2012 15:24:30 +0000 (17:24 +0200)
commit548d74015c50d7fae14bfb8bb1989acde5fc22ae
treef6e6c69803d05f51a92950ea804e2df6cd7d4c97
parentc6c6d3a952a647781c070a6783b1335c4271325a
ignore modifiers for KeyRelease bindings

For the following binding:

    # Simulate ctrl+v upon pressing $mod+x
    bindsym --release $mod+x exec --no-startup-id xdotool key --clearmodifiers ctrl+v

you can now use either:
1. press $mod, press x, release x, release $mod
2. press $mod, press x, release $mod, release x

fixes #485
include/data.h
src/cfgparse.y
src/config.c