diff src/ui.c @ 23612:8dbebce07695 v8.2.2348

patch 8.2.2348: no check for modified files after focus gained Commit: https://github.com/vim/vim/commit/fadd55bd633b3b84d41a691e953f569bb6c21689 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 14 19:19:18 2021 +0100 patch 8.2.2348: no check for modified files after focus gained Problem: No check for modified files after focus gained. (Mathias Stearn) Solution: Call ui_focus_change().
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Jan 2021 19:30:04 +0100
parents 39d62cdde492
children 9f64c420f280
line wrap: on
line diff
--- 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)
 /*