Cocoa/highgui: Set activateIgnoringOtherApps

pull/22737/head
fwcd 2 years ago
parent ee9137f176
commit d1d8ac57f3
  1. 2
      modules/highgui/src/window_cocoa.mm

@ -587,6 +587,8 @@ CV_IMPL int cvNamedWindow( const char* name, int flags )
[window setContentView:[[CVView alloc] init]];
[NSApp activateIgnoringOtherApps:YES];
[window setHasShadow:YES];
[window setAcceptsMouseMovedEvents:YES];
[window useOptimizedDrawing:YES];

Loading…
Cancel
Save