From: Jonas Fonseca Date: Fri, 27 Nov 2009 12:37:48 +0000 (-0500) Subject: Cleanup bluring of the previous view's title bar X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e177b41c8e3291088cf36cd4222fb806b6344d5c;p=tig.git Cleanup bluring of the previous view's title bar --- diff --git a/tig.c b/tig.c index bd30997..e2ae80d 100644 --- a/tig.c +++ b/tig.c @@ -3236,11 +3236,9 @@ open_view(struct view *prev, enum request request, enum open_flags flags) do_scroll_view(prev, lines); } - if (prev && view != prev) { - if (split) { - /* "Blur" the previous view. */ - update_view_title(prev); - } + if (prev && view != prev && split && view_is_displayed(prev)) { + /* "Blur" the previous view. */ + update_view_title(prev); } if (view->pipe && view->lines == 0) {