summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-14 19:19:18 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-14 19:19:18 +0100
commitfadd55bd633b3b84d41a691e953f569bb6c21689 (patch)
treedb8eb08015ef089af1622686aeac207f802b3e65 /src/ui.c
parente1ee58ac788508585f60c91fcf6629e2251a9220 (diff)
downloadvim-git-fadd55bd633b3b84d41a691e953f569bb6c21689.tar.gz
patch 8.2.2348: no check for modified files after focus gainedv8.2.2348
Problem: No check for modified files after focus gained. (Mathias Stearn) Solution: Call ui_focus_change().
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui.c b/src/ui.c
index ed565276c..3f4304f69 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1101,7 +1101,6 @@ check_row(int row)
return row;
}
-#if defined(FEAT_GUI) || defined(MSWIN) || defined(PROTO)
/*
* Called when focus changed. Used for the GUI or for systems where this can
* be done in the console (Win32).
@@ -1164,7 +1163,6 @@ ui_focus_change(
maketitle();
#endif
}
-#endif
#if defined(HAVE_INPUT_METHOD) || defined(PROTO)
/*