emacs-diffs
[Top][All Lists]
Advanced

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

feature/pgtk 526f727 036/100: Let gtk handle scaling.


From: Yuuki Harano
Subject: feature/pgtk 526f727 036/100: Let gtk handle scaling.
Date: Tue, 24 Nov 2020 08:02:32 -0500 (EST)

branch: feature/pgtk
commit 526f7277fcbd99aa7a5e0e3cc5139872bf322ee5
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Jeff Walsh <fejfighter@gmail.com>

    Let gtk handle scaling.
    
    * src/gtkutil.c (xg_get_scale):
---
 src/gtkutil.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gtkutil.c b/src/gtkutil.c
index b202aa0..394d81a 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -223,6 +223,9 @@ xg_get_gdk_scale (void)
 int
 xg_get_scale (struct frame *f)
 {
+#ifdef HAVE_PGTK
+  return 1;
+#endif
 #ifdef HAVE_GTK3
   if (FRAME_GTK_WIDGET (f))
     return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f));



reply via email to

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