sxhkd-rc

[fork] simple X hotkey daemon (but for the rc shell)
Log | Files | Refs | README | LICENSE

commit d6a87205163ef4912b4986c4ec23c6ed110f8aba
parent 07655dfe813db7750663fb178deda48cc5f0e640
Author: Bastien Dejean <nihilhill@gmail.com>
Date:   Sun, 23 Mar 2014 14:28:52 +0100

The opening sequence token is not a prefix char

Diffstat:
Mparse.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parse.c b/parse.c @@ -2665,7 +2665,7 @@ bool parse_chain(char *string, chain_t *chain) for (outer_advance = get_token(chord, ignored, string, LNK_SEP); chord[0] != '\0'; outer_advance = get_token(chord, ignored, outer_advance, LNK_SEP)) { for (inner_advance = get_token(name, NULL, chord, SYM_SEP); name[0] != '\0'; inner_advance = get_token(name, NULL, inner_advance, SYM_SEP)) { int offset = 0; - while (offset < (MAXLEN - 1) && !isalnum(name[offset]) && name[offset] != '_') { + while (offset < (MAXLEN - 1) && !isalnum(name[offset]) && name[offset] != '_' && name[offset] != SEQ_BEGIN) { switch (name[offset]) { case RELEASE_PREFIX: event_type = XCB_KEY_RELEASE;