Skip to content

Commit 995275f

Browse files
committed
Gtk: confine the screen size fix to affected versions
1 parent aea05e8 commit 995275f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gui-lib/mred/private/wx/gtk/frame.rkt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,12 +607,13 @@
607607
(cond
608608
;; work around the upstream issue https://gitlab.gnome.org/GNOME/gtk/-/issues/2599
609609
[(and wayland?
610-
;; for gtk3 >= 3.24.9
610+
;; for gtk3 >= 3.24.9 and < 3.24.42
611611
gtk3?
612612
(or
613613
(> (gtk_get_minor_version) 24)
614614
(and (= (gtk_get_minor_version) 24)
615-
(>= (gtk_get_micro_version) 9))))
615+
(>= (gtk_get_micro_version) 9)
616+
(< (gtk_get_micro_version) 42))))
616617
(define scale (gdk_screen_get_monitor_scale_factor
617618
(gdk_screen_get_default)
618619
num))

0 commit comments

Comments
 (0)