mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Cocoa/highgui: Set activateIgnoringOtherApps
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user