summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 199d128)
raw | patch | inline | side by side (parent: 199d128)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sun, 21 May 2006 23:18:13 +0000 (01:18 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Sun, 21 May 2006 23:18:13 +0000 (01:18 +0200) |
tig.c | patch | blob | history |
index 236c701935d1689ad2278c65820999fee65b1844..4abb0bf2e3cd618bf4f1fb40ad9ae82d56930bb6 100644 (file)
--- a/tig.c
+++ b/tig.c
}
if (prev && view != prev) {
- /* "Blur" the previous view. */
- if (!backgrounded)
- update_view_title(prev);
-
/* Continue loading split views in the background. */
if (!split)
end_update(prev);
+ else if (!backgrounded)
+ /* "Blur" the previous view. */
+ update_view_title(prev);
+
view->parent = prev;
}
if (view == VIEW(REQ_VIEW_DIFF) &&
view->parent == VIEW(REQ_VIEW_MAIN)) {
- bool redraw = display[0] == VIEW(REQ_VIEW_MAIN);
+ bool redraw = display[1] == view;
view = view->parent;
move_view(view, request, redraw);
- update_view_title(view);
+ if (redraw)
+ update_view_title(view);
} else {
move_view(view, request, TRUE);
break;