]> git.eshelyaron.com Git - emacs.git/commitdiff
init border_pixel.
authorYuuki Harano <masm+github@masm11.me>
Fri, 26 Jul 2019 14:55:03 +0000 (23:55 +0900)
committerJeff Walsh <fejfighter@gmail.com>
Sun, 22 Nov 2020 03:46:55 +0000 (14:46 +1100)
* ../src/pgtkfns.c (Fx_create_frame): remove if preprocessor

src/pgtkfns.c

index a9293c5bbbce85e8915b9e54e229ef1b80e9a170..845c2c6f3310625f8b6ecb96d4c1c359c9e50f85 100644 (file)
@@ -1045,9 +1045,7 @@ This function is an internal primitive--use `make-frame' instead.  */)
     FRAME_BACKGROUND_PIXEL (f) = -1;
     FRAME_X_OUTPUT(f)->cursor_color = -1;
     FRAME_X_OUTPUT(f)->cursor_foreground_color = -1;
-#if 0
     FRAME_X_OUTPUT(f)->border_pixel = -1;
-#endif
     FRAME_X_OUTPUT(f)->mouse_color = -1;
 
     black = build_string ("black");
@@ -1059,10 +1057,8 @@ This function is an internal primitive--use `make-frame' instead.  */)
       = x_decode_color (f, black, BLACK_PIX_DEFAULT (f));
     FRAME_X_OUTPUT(f)->cursor_foreground_color
       = x_decode_color (f, black, BLACK_PIX_DEFAULT (f));
-#if 0
     FRAME_X_OUTPUT(f)->border_pixel
       = x_decode_color (f, black, BLACK_PIX_DEFAULT (f));
-#endif
     FRAME_X_OUTPUT(f)->mouse_color
       = x_decode_color (f, black, BLACK_PIX_DEFAULT (f));
   }