Mercurial > vim
comparison src/gui_w32.c @ 15549:9bd2372432cf v8.1.0782
patch 8.1.0782: Win32: cursor blinks when Vim is not active
commit https://github.com/vim/vim/commit/2d951a486e632f99fe039c0b0a1685f1fe7879b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 19:54:20 2019 +0100
patch 8.1.0782: Win32: cursor blinks when Vim is not active
Problem: Win32: cursor blinks when Vim is not active.
Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto,
closes #3778)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 20:00:09 +0100 |
parents | dd725a8ab112 |
children | 536dd2bc5ac9 |
comparison
equal
deleted
inserted
replaced
15548:5067e8003224 | 15549:9bd2372432cf |
---|---|
2439 | 2439 |
2440 return SetWindowPos(hwndChild, NULL, xNew, yNew, 0, 0, | 2440 return SetWindowPos(hwndChild, NULL, xNew, yNew, 0, 0, |
2441 SWP_NOSIZE | SWP_NOZORDER); | 2441 SWP_NOSIZE | SWP_NOZORDER); |
2442 } | 2442 } |
2443 #endif /* FEAT_GUI_DIALOG */ | 2443 #endif /* FEAT_GUI_DIALOG */ |
2444 | |
2445 void | |
2446 gui_mch_activate_window(void) | |
2447 { | |
2448 (void)SetActiveWindow(s_hwnd); | |
2449 } | |
2450 | 2444 |
2451 #if defined(FEAT_TOOLBAR) || defined(PROTO) | 2445 #if defined(FEAT_TOOLBAR) || defined(PROTO) |
2452 void | 2446 void |
2453 gui_mch_show_toolbar(int showit) | 2447 gui_mch_show_toolbar(int showit) |
2454 { | 2448 { |