summaryrefslogtreecommitdiff
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-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
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.