emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 4d578d4: On Windows default a frame's border widt


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-26 4d578d4: On Windows default a frame's border width to zero (Bug#28873)
Date: Thu, 19 Oct 2017 03:52:22 -0400 (EDT)

branch: emacs-26
commit 4d578d432d4cf1e6826f3c07d119017940dd8e6e
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    On Windows default a frame's border width to zero (Bug#28873)
    
    * src/w32fns.c (Fx_create_frame): Default `border-width' to zero
    as everywhere else, see Bug#28873.
---
 src/w32fns.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index efbd81b..43af112 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -5847,7 +5847,8 @@ This function is an internal primitive--use `make-frame' 
instead.  */)
      that are needed to determine window geometry.  */
   x_default_font_parameter (f, parameters);
 
-  x_default_parameter (f, parameters, Qborder_width, make_number (2),
+  /* Default BorderWidth to 0 to match other platforms.  */
+  x_default_parameter (f, parameters, Qborder_width, make_number (0),
                       "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
 
   /* We recognize either internalBorderWidth or internalBorder
@@ -5862,7 +5863,7 @@ This function is an internal primitive--use `make-frame' 
instead.  */)
        parameters = Fcons (Fcons (Qinternal_border_width, value),
                            parameters);
     }
-  /* Default internalBorderWidth to 0 on Windows to match other programs.  */
+
   x_default_parameter (f, parameters, Qinternal_border_width, make_number (0),
                       "internalBorderWidth", "InternalBorder", 
RES_TYPE_NUMBER);
   x_default_parameter (f, parameters, Qright_divider_width, make_number (0),



reply via email to

[Prev in Thread] Current Thread [Next in Thread]