Cocoa/highgui: Set activateIgnoringOtherApps

pull/22842/head
fwcd 2 years ago committed by Alexander Smorkalov
parent 6c36cd5d6e
commit 90b144cf0a
  1. 2
      modules/highgui/src/window_cocoa.mm

@ -579,6 +579,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