summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 33433ee..d944292 100644
--- a/src/main.c
+++ b/src/main.c
@@ -399,11 +399,14 @@ show_welcome_message ()
{
rp_action *help_action;
char *prefix, *help;
+ rp_keymap *map;
prefix = keysym_to_string (prefix_key.sym, prefix_key.state);
+ map = find_keymap (ROOT_KEYMAP);
+
/* Find the help key binding. */
- help_action = find_keybinding_by_action ("help");
+ help_action = find_keybinding_by_action ("help " ROOT_KEYMAP, map);
if (help_action)
help = keysym_to_string (help_action->key, help_action->state);
else
@@ -770,7 +773,7 @@ clean_up ()
history_save ();
- free_keybindings ();
+ free_keymaps ();
free_aliases ();
free_bar ();
free_groups ();