From 7b9e83d3cf92abf1411c1999068839a7e1bb36e8 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 30 Jul 2023 21:18:54 +0800 Subject: [PATCH 1/2] Fix bug#64923 * src/xfns.c (Fx_create_frame): Prevent cairo surface from being left without a desired size. (bug#64923) --- src/xfns.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xfns.c b/src/xfns.c index 528ae61ca32..d723b1f7d7c 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5109,6 +5109,17 @@ This function is an internal primitive--use `make-frame' instead. */) gui_default_parameter (f, parms, Qfullscreen, Qnil, "fullscreen", "Fullscreen", RES_TYPE_SYMBOL); +#ifdef USE_CAIRO + /* Set the initial size of the Cairo surface to the frame's current + width and height. If the window manager doesn't resize the new + frame after it's first mapped, Emacs will create a surface with + empty dimensions in response to to the initial exposure event, + which will persist until the next time it's resized. + (bug#64923) */ + x_cr_update_surface_desired_size (f, FRAME_PIXEL_WIDTH (f), + FRAME_PIXEL_HEIGHT (f)); +#endif /* USE_CAIRO */ + /* Make the window appear on the frame and enable display, unless the caller says not to. However, with explicit parent, Emacs cannot control visibility, so don't try. */ From 092a2ecb083d9f3e301c5b9bf23e0f2f666fec27 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 30 Jul 2023 18:08:27 +0300 Subject: [PATCH 2/2] ; * admin/make-tarball.txt: Update based on latest experiences. --- admin/make-tarball.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index 1cc97c883af..fddf8444067 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt @@ -426,6 +426,13 @@ Now change to the 'manual' directory and invoke upload-manuals: If upload-manuals fails, resolve the problems and re-invoke it. This requires running make-manuals again, since upload-manuals destructively modifies the 'manual' directory where you invoke it. + + If new files fail to be "cvs add"ed, they need to be manually + removed from under /path/to/webpages/cvs/checkout before retrying + upload-manuals, because if they exist, they will not be handled as + "new" files, and will not be "cvs add"ed by the next run of the + script. + Also, upload-manuals invokes "cvs commit -f", so if you run it several times, some files will be committed more than once even though they were not changed in-between. Suck it up.