From: Bram Moolenaar Date: Thu, 19 Nov 2015 19:23:37 +0000 (+0100) Subject: patch 7.4.930 X-Git-Tag: v7.4.930 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97b0b0ec764d3a247ef600d809b965d5ab37155d;p=vim patch 7.4.930 Problem: MS-Windows: Most users appear not to like the window border. Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday) --- diff --git a/src/gui_w32.c b/src/gui_w32.c index b35c8ab8f..c5bd81d85 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -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 diff --git a/src/version.c b/src/version.c index fc286b828..a518d8641 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 930, /**/ 929, /**/