From: Yuuki Harano Date: Sun, 18 Oct 2020 11:14:52 +0000 (+0900) Subject: Avoid weird behavior when resizing with top-left corner X-Git-Tag: emacs-29.0.90~3766 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=948e2fa582ff33b58d25186ea35f41adaa9d6cbe;p=emacs.git Avoid weird behavior when resizing with top-left corner * src/frame.c (syms_of_frame): Defaults frame_resize_pixelwise to true. --- diff --git a/src/frame.c b/src/frame.c index 191b0268c5f..2a55755bbad 100644 --- a/src/frame.c +++ b/src/frame.c @@ -6260,7 +6260,12 @@ With some window managers you may have to set this to non-nil in order to set the size of a frame in pixels, to maximize frames or to make them fullscreen. To resize your initial frame pixelwise, set this option to a non-nil value in your init file. */); +#ifndef HAVE_PGTK frame_resize_pixelwise = 0; +#else + /* https://gitlab.gnome.org/GNOME/mutter/-/issues/396 */ + frame_resize_pixelwise = true; +#endif DEFVAR_LISP ("frame-inhibit-implied-resize", frame_inhibit_implied_resize, doc: /* Whether frames should be resized implicitly.