racket/gui: fix for Mac OS X 10.6
Closes PR 14482 original commit: afe06ed070577fad6eb74bf27717ce5337ff2b48
This commit is contained in:
parent
59e634dbdb
commit
e1aed6f3ea
|
@ -123,7 +123,7 @@
|
|||
(unless (scheme_register_process_global "Racket-GUI-no-front" #f)
|
||||
(tellv app activateIgnoringOtherApps: #:type _BOOL #t)
|
||||
;; It may not be that easy...
|
||||
(when (version-10.6-or-later?)
|
||||
(when (version-10.7-or-later?)
|
||||
(with-autorelease
|
||||
(import-class NSRunningApplication)
|
||||
(unless (tell #:type _BOOL (tell NSRunningApplication currentApplication) ownsMenuBar)
|
||||
|
|
Loading…
Reference in New Issue
Block a user