Skip to content

Commit 97b0b0e

Browse files
committed
patch 7.4.930
Problem: MS-Windows: Most users appear not to like the window border. Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday)
1 parent d29c6fe commit 97b0b0e

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/gui_w32.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,7 +1661,7 @@ gui_mch_init(void)
16611661
return FAIL;
16621662
}
16631663
s_textArea = CreateWindowEx(
1664-
WS_EX_CLIENTEDGE,
1664+
0,
16651665
szTextAreaClass, "Vim text area",
16661666
WS_CHILD | WS_VISIBLE, 0, 0,
16671667
100, /* Any value will do for now */
@@ -1716,9 +1716,9 @@ gui_mch_init(void)
17161716
highlight_gui_started();
17171717

17181718
/*
1719-
* Start out by adding the configured border width into the border offset
1719+
* Start out by adding the configured border width into the border offset.
17201720
*/
1721-
gui.border_offset = gui.border_width + 2; /*CLIENT EDGE*/
1721+
gui.border_offset = gui.border_width;
17221722

17231723
/*
17241724
* Set up for Intellimouse processing

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
930,
744746
/**/
745747
929,
746748
/**/

0 commit comments

Comments
 (0)