emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/pgtk 948e2fa 094/100: Avoid weird behavior when resizing with to


From: Yuuki Harano
Subject: feature/pgtk 948e2fa 094/100: Avoid weird behavior when resizing with top-left corner
Date: Tue, 24 Nov 2020 08:02:45 -0500 (EST)

branch: feature/pgtk
commit 948e2fa582ff33b58d25186ea35f41adaa9d6cbe
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <jeff.walsh@drtusers-MacBook-Pro.local>

    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 191b026..2a55755 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]