views:

50

answers:

2

Hi,

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 command+tab.

Is there a way to re-enable it or i just take a mistake?

Thanks!

A: 

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.

A: 

Thanks for the response, i'm already found this answer, and changed my fullscreen code to use a simple NSWindow to make fullscreen.

lov