summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-04-01 20:40:17 +0200
committerBoris Faure <billiob@gmail.com>2015-04-01 20:40:17 +0200
commit80bb25baaad295563838ddc106316d77de633d5d (patch)
treee56134d6791c07dbd3da38e8cf1fb0dba4bfdee4 /src/bin/keyin.c
parent2eafc8af28560cb8ef52e0fd074d286d58c6dd16 (diff)
fix terminology not starting with newer config
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index 2473f54..50cb9ed 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -682,7 +682,8 @@ keyin_add_config(Config_Keys *key)
682 Key_Binding *kb; 682 Key_Binding *kb;
683 kb = _key_binding_new(key->keyname, key->ctrl, key->alt, 683 kb = _key_binding_new(key->keyname, key->ctrl, key->alt,
684 key->shift, key->win, action->cb); 684 key->shift, key->win, action->cb);
685 if (!kb) return -1; 685 if (!kb)
686 return -1;
686 if (eina_hash_find(_key_bindings, kb) || 687 if (eina_hash_find(_key_bindings, kb) ||
687 (!eina_hash_direct_add(_key_bindings, kb, kb))) 688 (!eina_hash_direct_add(_key_bindings, kb, kb)))
688 { 689 {
@@ -691,7 +692,8 @@ keyin_add_config(Config_Keys *key)
691 } 692 }
692 return 0; 693 return 0;
693 } 694 }
694 return -1; 695 WRN("no callback for key binding doing '%s'", key->cb);
696 return 0;
695} 697}
696 698
697int 699int