summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <bram@vim.org>2011-08-10 15:56:27 +0200
committerBram Moolenaar <bram@vim.org>2011-08-10 15:56:27 +0200
commit54a1645b00260291d9cf1c4ef8b53e0da8221221 (patch)
treeecd9fee5198cd16aa2e2fbcbd49bc8ae246bab0e
parentea0eedcd79e6ca33664bedb93433ddcb02bf148b (diff)
downloadvim-54a1645b00260291d9cf1c4ef8b53e0da8221221.tar.gz
updated for version 7.3.275v7.3.275v7-3-275
Problem: MS-Windows: When using a black background some screen updates cause the window to flicker. Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
-rw-r--r--src/gui_w32.c6
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index e4d25704..0966afe4 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1379,7 +1379,8 @@ gui_mch_init(void)
s_hwnd = CreateWindowEx(
WS_EX_MDICHILD,
szVimWndClass, "Vim MSWindows GUI",
- WS_OVERLAPPEDWINDOW | WS_CHILD | WS_CLIPSIBLINGS | 0xC000,
+ WS_OVERLAPPEDWINDOW | WS_CHILD
+ | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 0xC000,
gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
100, /* Any value will do */
@@ -1410,7 +1411,8 @@ gui_mch_init(void)
* titlebar, it will be reparented below. */
s_hwnd = CreateWindow(
szVimWndClass, "Vim MSWindows GUI",
- win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP,
+ (win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP)
+ | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
100, /* Any value will do */
diff --git a/src/version.c b/src/version.c
index 8ae028c8..1d8b4109 100644
--- a/src/version.c
+++ b/src/version.c
@@ -710,6 +710,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 275,
+/**/
274,
/**/
273,