]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - vim/patches/vim-7.3.275.patch0
vim: Import latest patches from upstream.
[people/ms/ipfire-3.x.git] / vim / patches / vim-7.3.275.patch0
CommitLineData
c6060300
MT
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.275
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.275
11Problem: MS-Windows: When using a black background some screen updates
12 cause the window to flicker.
13Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre)
14Files: src/gui_w32.c
15
16
17*** ../vim-7.3.274/src/gui_w32.c 2011-07-07 17:43:37.000000000 +0200
18--- src/gui_w32.c 2011-08-10 14:40:58.000000000 +0200
19***************
20*** 1379,1385 ****
21 s_hwnd = CreateWindowEx(
22 WS_EX_MDICHILD,
23 szVimWndClass, "Vim MSWindows GUI",
24! WS_OVERLAPPEDWINDOW | WS_CHILD | WS_CLIPSIBLINGS | 0xC000,
25 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
26 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
27 100, /* Any value will do */
28--- 1379,1386 ----
29 s_hwnd = CreateWindowEx(
30 WS_EX_MDICHILD,
31 szVimWndClass, "Vim MSWindows GUI",
32! WS_OVERLAPPEDWINDOW | WS_CHILD
33! | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 0xC000,
34 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
35 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
36 100, /* Any value will do */
37***************
38*** 1410,1416 ****
39 * titlebar, it will be reparented below. */
40 s_hwnd = CreateWindow(
41 szVimWndClass, "Vim MSWindows GUI",
42! win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP,
43 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
44 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
45 100, /* Any value will do */
46--- 1411,1418 ----
47 * titlebar, it will be reparented below. */
48 s_hwnd = CreateWindow(
49 szVimWndClass, "Vim MSWindows GUI",
50! (win_socket_id == 0 ? WS_OVERLAPPEDWINDOW : WS_POPUP)
51! | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,
52 gui_win_x == -1 ? CW_USEDEFAULT : gui_win_x,
53 gui_win_y == -1 ? CW_USEDEFAULT : gui_win_y,
54 100, /* Any value will do */
55*** ../vim-7.3.274/src/version.c 2011-08-10 14:32:33.000000000 +0200
56--- src/version.c 2011-08-10 14:39:14.000000000 +0200
57***************
58*** 711,712 ****
59--- 711,714 ----
60 { /* Add new patch number below this line */
61+ /**/
62+ 275,
63 /**/
64
65--
66ARTHUR: What does it say?
67BROTHER MAYNARD: It reads ... "Here may be found the last words of Joseph of
68 Aramathea." "He who is valorous and pure of heart may find
69 the Holy Grail in the aaaaarrrrrrggghhh..."
70ARTHUR: What?
71BROTHER MAYNARD: "The Aaaaarrrrrrggghhh..."
72 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
73
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
76\\\ an exciting new programming language -- http://www.Zimbu.org ///
77 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///