From: Yuuki Harano Date: Thu, 21 Nov 2019 15:27:12 +0000 (+0900) Subject: Let gtk handle scaling. X-Git-Tag: emacs-29.0.90~3824 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=526f7277fcbd99aa7a5e0e3cc5139872bf322ee5;p=emacs.git Let gtk handle scaling. * src/gtkutil.c (xg_get_scale): --- 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));