From 948e2fa582ff33b58d25186ea35f41adaa9d6cbe Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Sun, 18 Oct 2020 20:14:52 +0900 Subject: [PATCH] Avoid weird behavior when resizing with top-left corner * src/frame.c (syms_of_frame): Defaults frame_resize_pixelwise to true. --- src/frame.c | 5 +++++ 1 file changed, 5 insertions(+) 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. -- 2.39.5