Mercurial > vim
comparison src/gui_w32.c @ 7243:861a44fc5183 v7.4.930
commit https://github.com/vim/vim/commit/97b0b0ec764d3a247ef600d809b965d5ab37155d
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 19 20:23:37 2015 +0100
patch 7.4.930
Problem: MS-Windows: Most users appear not to like the window border.
Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Nov 2015 20:30:04 +0100 |
parents | 41ccc6f95954 |
children | fb84355cd972 |
comparison
equal
deleted
inserted
replaced
7242:c754b2f307a2 | 7243:861a44fc5183 |
---|---|
1659 | 1659 |
1660 if (RegisterClass(&wndclass) == 0) | 1660 if (RegisterClass(&wndclass) == 0) |
1661 return FAIL; | 1661 return FAIL; |
1662 } | 1662 } |
1663 s_textArea = CreateWindowEx( | 1663 s_textArea = CreateWindowEx( |
1664 WS_EX_CLIENTEDGE, | 1664 0, |
1665 szTextAreaClass, "Vim text area", | 1665 szTextAreaClass, "Vim text area", |
1666 WS_CHILD | WS_VISIBLE, 0, 0, | 1666 WS_CHILD | WS_VISIBLE, 0, 0, |
1667 100, /* Any value will do for now */ | 1667 100, /* Any value will do for now */ |
1668 100, /* Any value will do for now */ | 1668 100, /* Any value will do for now */ |
1669 s_hwnd, NULL, | 1669 s_hwnd, NULL, |
1714 /* Get the colors for the highlight groups (gui_check_colors() might have | 1714 /* Get the colors for the highlight groups (gui_check_colors() might have |
1715 * changed them) */ | 1715 * changed them) */ |
1716 highlight_gui_started(); | 1716 highlight_gui_started(); |
1717 | 1717 |
1718 /* | 1718 /* |
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. |
1720 */ | 1720 */ |
1721 gui.border_offset = gui.border_width + 2; /*CLIENT EDGE*/ | 1721 gui.border_offset = gui.border_width; |
1722 | 1722 |
1723 /* | 1723 /* |
1724 * Set up for Intellimouse processing | 1724 * Set up for Intellimouse processing |
1725 */ | 1725 */ |
1726 init_mouse_wheel(); | 1726 init_mouse_wheel(); |