1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 03:11:54 -07:00

Avoid weird behavior when resizing with top-left corner

* src/frame.c (syms_of_frame): Defaults frame_resize_pixelwise to true.
This commit is contained in:
Yuuki Harano 2020-10-18 20:14:52 +09:00 committed by Jeff Walsh
parent c1fbfb3fe0
commit 948e2fa582

View file

@ -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.