diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-01-14 21:13:15 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-01-14 21:13:15 +0100 |
commit | 939b2b178c876427a6dcfa89b31080386de992dd (patch) | |
tree | 0c7d6b47993466f9657d0d59e09436d8e0d93a42 | |
parent | 699a470e206cbc37e805869c54902494a4c1578a (diff) |
Always overwrite/cancel out default keybindings
-rw-r--r-- | src/keyevents.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 8e66521..5b57893 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -44,8 +44,10 @@ static void feh_set_parse_kb_partial(fehkey *key, int index, char *ks) { char *cur = ks; int mod = 0; - if (!*ks) + if (!*ks) { + key->keysyms[index] = 0; return; + } if (ks[1] == '-') { switch (ks[0]) { |