aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 55bcfb8e20e..222e24f1326 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5393,6 +5393,17 @@ This function is an internal primitive--use `make-frame' instead. */)
5393 gui_default_parameter (f, parms, Qfullscreen, Qnil, 5393 gui_default_parameter (f, parms, Qfullscreen, Qnil,
5394 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); 5394 "fullscreen", "Fullscreen", RES_TYPE_SYMBOL);
5395 5395
5396#ifdef USE_CAIRO
5397 /* Set the initial size of the Cairo surface to the frame's current
5398 width and height. If the window manager doesn't resize the new
5399 frame after it's first mapped, Emacs will create a surface with
5400 empty dimensions in response to to the initial exposure event,
5401 which will persist until the next time it's resized.
5402 (bug#64923) */
5403 x_cr_update_surface_desired_size (f, FRAME_PIXEL_WIDTH (f),
5404 FRAME_PIXEL_HEIGHT (f));
5405#endif /* USE_CAIRO */
5406
5396 /* Make the window appear on the frame and enable display, unless 5407 /* Make the window appear on the frame and enable display, unless
5397 the caller says not to. However, with explicit parent, Emacs 5408 the caller says not to. However, with explicit parent, Emacs
5398 cannot control visibility, so don't try. */ 5409 cannot control visibility, so don't try. */