[Openmcl-devel] Does anybody know why (make-instance 'ns:ns-window) no longer works
rsutton at ualberta.ca
Wed Jul 7 14:03:21 PDT 2021
Hello Fellow CCLers,
I have been away for a couple years, and now I found my Cocoa code no longer works. I traced it down to one of the Cocoa primitives I was relying on: ns:ns-window. In particular, I used to be able to just make an instance of this, but now i get:
? (make-instance 'ns:ns-window)
> Error: Objective-C runtime exception:
> NSWindow drag regions should only be invalidated on the Main Thread!
> While executing: #<Anonymous Function #x3000011BD76F>, in process Listener(4).
> Type cmd-. to abort, cmd-\ for a list of available restarts.
> Type :? for other options.
Does anybody know what has happened or, more importantly, how to work around this problem?
Thanks for any leads,
More information about the Openmcl-devel