In my app I uses 2 display, one for the UI and one for rendering with fullscreen NSOpenGLContext. I capture the second display with CGDisplayCapture, but this capture disable system key events just like ⌘ + tab.
Is there a way to re-enable it or I just take a mistake?
As far as I am aware when a display has been captured using CGDisplayCapture all of its key and mouse events are disabled on that display. I don’t think you can enable them again without releasing the display.