aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuuki Harano2020-10-18 20:14:52 +0900
committerJeff Walsh2020-11-24 12:24:40 +1100
commit948e2fa582ff33b58d25186ea35f41adaa9d6cbe (patch)
tree6e8d49d6541d4c89603f0cb7c8a77108db0e0080
parentc1fbfb3fe04e3185fa64df2ed69cd97b0a6bbb40 (diff)
downloademacs-948e2fa582ff33b58d25186ea35f41adaa9d6cbe.tar.gz
emacs-948e2fa582ff33b58d25186ea35f41adaa9d6cbe.zip
Avoid weird behavior when resizing with top-left corner
* src/frame.c (syms_of_frame): Defaults frame_resize_pixelwise to true.
-rw-r--r--src/frame.c5
1 files changed, 5 insertions, 0 deletions
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
6260to set the size of a frame in pixels, to maximize frames or to make them 6260to set the size of a frame in pixels, to maximize frames or to make them
6261fullscreen. To resize your initial frame pixelwise, set this option to 6261fullscreen. To resize your initial frame pixelwise, set this option to
6262a non-nil value in your init file. */); 6262a non-nil value in your init file. */);
6263#ifndef HAVE_PGTK
6263 frame_resize_pixelwise = 0; 6264 frame_resize_pixelwise = 0;
6265#else
6266 /* https://gitlab.gnome.org/GNOME/mutter/-/issues/396 */
6267 frame_resize_pixelwise = true;
6268#endif
6264 6269
6265 DEFVAR_LISP ("frame-inhibit-implied-resize", frame_inhibit_implied_resize, 6270 DEFVAR_LISP ("frame-inhibit-implied-resize", frame_inhibit_implied_resize,
6266 doc: /* Whether frames should be resized implicitly. 6271 doc: /* Whether frames should be resized implicitly.