Using as bare bones implementation as possible (essentially just
(apparently this forum software doesn’t like hashtags or triangle brackets, but imagine they are there)
), I get an error when an external monitor is plugged in:
Error: Cocoa: Failed to find NSScreen for CGDisplay
app(80134,0x7fff7b8a0310) malloc: *** error for object 0x7fab9af003e0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
using llvm-g++. Any ideas of where this bug lies?