commit 758194b584cabffe1f0e63d3c223373757dfb34a from: Stefan Sperling date: Wed Oct 24 08:45:03 2018 UTC tog: show appropriate panels when current view is moved into focus commit - 34095730b1d2ffc72cf93ffd32288f771bb2cca0 commit + 758194b584cabffe1f0e63d3c223373757dfb34a blob - 898f650fa5cdf16c2ad77f759c73e950ff369652 blob + 931b4f261eb76f1f119d33c65e96779617873b19 --- tog/tog.c +++ tog/tog.c @@ -693,8 +693,11 @@ view_loop(struct tog_view *view) } if (view) { if (focus_view == NULL) { + view->focussed = 1; + show_panel(view->panel); + if (view->child && view_is_splitscreen(view->child)) + show_panel(view->child->panel); focus_view = view; - focus_view->focussed = 1; } if (view->parent) { err = view->parent->show(view->parent);