summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-01-14 21:13:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-01-14 21:13:15 +0100
commit939b2b178c876427a6dcfa89b31080386de992dd (patch)
tree0c7d6b47993466f9657d0d59e09436d8e0d93a42 /src
parent699a470e206cbc37e805869c54902494a4c1578a (diff)
Always overwrite/cancel out default keybindings
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c4
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]) {