From 8fc0f15412654e8520fb0a97430063bbb70634e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Courr=C3=A8ges-Anglas?= Date: Sun, 9 Jul 2017 20:36:31 +0200 Subject: Always show the frame indicator when switching to a different screen. When switching to another screen, the focus{left,right,up,down} commands only show the frame indicator if the target screen has more than one frame. This behavior is kinda non-intuitive. Pointed out by Antoine Busque, who also provided a different fix. --- src/split.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/split.c b/src/split.c index 98c0cda..eed0f50 100644 --- a/src/split.c +++ b/src/split.c @@ -847,6 +847,9 @@ set_active_frame (rp_frame *frame, int force_indicator) if ((old != s->current_frame && num_frames(s) > 1) || s != old_s) { + if (s != old_s) + force_indicator = 1; + show_frame_indicator(force_indicator); /* run the frame switch hook. We call it in here because this is -- cgit v1.2.3