Merge pull request #22842 from asmorkalov:as/pr_22737_backport
backport #22737: Cocoa/highgui: Set [NSApp activateIgnoringOtherApps] to spawn window on top
This commit is contained in:
commit
51758b2dd6
@ -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…
Reference in New Issue
Block a user