Skip to content

Commit f2a6699

Browse files
author
Yuuki Harano
committed
Merge branch 'scaled-screen' into pgtk
2 parents f29f304 + dae3108 commit f2a6699

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)