Skip to content

Commit dae3108

Browse files
author
Yuuki Harano
committed
Let gtk handle scaling.
1 parent 5f4d8a2 commit dae3108

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gtkutil.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ xg_get_gdk_scale (void)
216216
int
217217
xg_get_scale (struct frame *f)
218218
{
219+
#ifdef HAVE_PGTK
220+
return 1;
221+
#endif
219222
#ifdef HAVE_GTK3
220223
if (FRAME_GTK_WIDGET (f))
221224
return gtk_widget_get_scale_factor (FRAME_GTK_WIDGET (f));

0 commit comments

Comments
 (0)