From e78c206856b35172196a171b9f5c6b2f66bda393 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 10 Aug 2011 15:56:27 +0200 Subject: [PATCH] =?utf8?q?updated=20for=20version=207.3.275=20Problem:=20?= =?utf8?q?=20=20=20MS-Windows:=20When=20using=20a=20black=20background=20s?= =?utf8?q?ome=20screen=20updates=20=20=20=20=20=20=20=20=20=20=20=20=20cau?= =?utf8?q?se=20the=20window=20to=20flicker.=20Solution:=20=20=20Add=20WS?= =?utf8?q?=5FCLIPCHILDREN=20to=20CreateWindow().=20=20(Ren=C3=A9=20Aguirre?= =?utf8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/gui_w32.c | 6 ++++-- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/gui_w32.c b/src/gui_w32.c index e4d25704f..0966afe40 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 8ae028c86..1d8b4109c 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 275, /**/ 274, /**/ -- 2.50.1