summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-19 19:54:20 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-19 19:54:20 +0100
commit2d951a486e632f99fe039c0b0a1685f1fe7879b2 (patch)
treea66e908c923cb82fa7e4b1577e20ea756949767f /src/menu.c
parenta502caab8bd396316a6eb5cb821b0a0df55c502a (diff)
downloadvim-git-2d951a486e632f99fe039c0b0a1685f1fe7879b2.tar.gz
patch 8.1.0782: Win32: cursor blinks when Vim is not activev8.1.0782
Problem: Win32: cursor blinks when Vim is not active. Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto, closes #3778)
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/menu.c b/src/menu.c
index 7c934ea43..a9cbb05d0 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -2080,11 +2080,6 @@ gui_update_menus(int modes)
gui_mch_draw_menubar();
prev_mode = mode;
force_menu_update = FALSE;
-# ifdef FEAT_GUI_W32
- /* This can leave a tearoff as active window - make sure we
- * have the focus <negri>*/
- gui_mch_activate_window();
-# endif
}
}