0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.930

Problem:    MS-Windows: Most users appear not to like the window border.
Solution:   Remove WS_EX_CLIENTEDGE. (Ian Halliday)
This commit is contained in:
Bram Moolenaar 2015-11-19 20:23:37 +01:00
parent d29c6fea94
commit 97b0b0ec76
2 changed files with 5 additions and 3 deletions

View File

@ -1661,7 +1661,7 @@ gui_mch_init(void)
return FAIL;
}
s_textArea = CreateWindowEx(
WS_EX_CLIENTEDGE,
0,
szTextAreaClass, "Vim text area",
WS_CHILD | WS_VISIBLE, 0, 0,
100, /* Any value will do for now */
@ -1716,9 +1716,9 @@ gui_mch_init(void)
highlight_gui_started();
/*
* Start out by adding the configured border width into the border offset
* Start out by adding the configured border width into the border offset.
*/
gui.border_offset = gui.border_width + 2; /*CLIENT EDGE*/
gui.border_offset = gui.border_width;
/*
* Set up for Intellimouse processing

View File

@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
930,
/**/
929,
/**/