]> granicus.if.org Git - vim/commitdiff
patch 7.4.930 v7.4.930
authorBram Moolenaar <Bram@vim.org>
Thu, 19 Nov 2015 19:23:37 +0000 (20:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 19 Nov 2015 19:23:37 +0000 (20:23 +0100)
Problem:    MS-Windows: Most users appear not to like the window border.
Solution:   Remove WS_EX_CLIENTEDGE. (Ian Halliday)

src/gui_w32.c
src/version.c

index b35c8ab8fa3169d3279cf360cc8ea2b0c1a7c548..c5bd81d85ceafabd173f6ef0ea637b7ee2876316 100644 (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
index fc286b828f769c8cd8844d644eb6cad6207fac7b..a518d8641ded7dc78a72d16e1860376e421f16c7 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    930,
 /**/
     929,
 /**/