From 526f7277fcbd99aa7a5e0e3cc5139872bf322ee5 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Fri, 22 Nov 2019 00:27:12 +0900 Subject: [PATCH] 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 b202aa02e2b..394d81ace60 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)); -- 2.39.5