summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/mainwindows.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/fe-text/mainwindows.c b/src/fe-text/mainwindows.c
index 03a82705..0bede313 100644
--- a/src/fe-text/mainwindows.c
+++ b/src/fe-text/mainwindows.c
@@ -154,11 +154,8 @@ void mainwindow_change_active(MAIN_WINDOW_REC *mainwin,
WINDOW_REC *rec = tmp->data;
if (rec != skip_window) {
- if (WINDOW_MAIN(rec) == mainwin) {
- window_set_active(rec);
- return;
- }
- other = rec;
+ other = rec;
+ break;
}
}