]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.275 v7.3.275
authorBram Moolenaar <Bram@vim.org>
Wed, 10 Aug 2011 13:56:27 +0000 (15:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 10 Aug 2011 13:56:27 +0000 (15:56 +0200)
Problem:    MS-Windows: When using a black background some screen updates
            cause the window to flicker.
Solution:   Add WS_CLIPCHILDREN to CreateWindow().  (RenĂ© Aguirre)

src/gui_w32.c
src/version.c

index e4d25704f771847399a63679dc8c80dbc4457a1a..0966afe4012b203daec6d5d62cae048e337d0a1e 100644 (file)
@@ -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 */
index 8ae028c868f00728774772d130036461dcebb831..1d8b4109cb1211ddb579fd27eb248ccc82eb6cd5 100644 (file)
@@ -709,6 +709,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    275,
 /**/
     274,
 /**/