Skip to content

Commit 56a2ca5

Browse files
committed
Make sure accessibility.tcl loads on macOS under Aqua
1 parent f62b887 commit 56a2ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/tk.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ if {$::tk_library ne ""} {
538538
# Do not load accessibility under XQuartz on macOS. There are too many
539539
# conflicts between macOS accessibility and what standard X11 expects,
540540
# and this causes crashes on Darwin/XQuartz.
541-
if {![interp issafe] &&$::tcl_platform(os) ne "Darwin" && [tk windowingsystem] ne "x11"} {
541+
if {![interp issafe] && !($::tcl_platform(os) eq "Darwin" && [tk windowingsystem] eq "x11")} {
542542
SourceLibFile accessibility
543543
}
544544
SourceLibFile icons

0 commit comments

Comments
 (0)