summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/events.c b/src/events.c
index 2ef2512..dec08b8 100644
--- a/src/events.c
+++ b/src/events.c
@@ -383,11 +383,11 @@ static void
handle_key (KeySym ks, unsigned int mod, rp_screen *s)
{
rp_action *key_action;
- rp_keymap *map = find_keymap (TOP_KEYMAP);
+ rp_keymap *map = find_keymap (defaults.top_kmap);
if (map == NULL)
{
- PRINT_ERROR (("Unable to find " TOP_KEYMAP " keymap\n"));
+ PRINT_ERROR (("Unable to find %s keymap\n", defaults.top_kmap));
return;
}