diff --git a/src/actions.c b/src/actions.c index b3baadb..ff354ce 100644 --- a/src/actions.c +++ b/src/actions.c @@ -1366,6 +1366,7 @@ cmd_select (int interactive UNUSED, struct cmdarg **args) if (strlen (str) == 1 && str[0] == '-') { blank_frame (current_frame()); + hook_run (&rp_switch_win_hook); } /* try by number */ else if ((n = string_to_window_number (str)) >= 0)