mirror of
https://github.com/opencv/opencv.git
synced 2025-06-16 23:00:51 +08:00
Cocoa/highgui: Set activateIgnoringOtherApps
This commit is contained in:
parent
6c36cd5d6e
commit
90b144cf0a
@ -579,6 +579,8 @@ CV_IMPL int cvNamedWindow( const char* name, int flags )
|
|||||||
|
|
||||||
[window setContentView:[[CVView alloc] init]];
|
[window setContentView:[[CVView alloc] init]];
|
||||||
|
|
||||||
|
[NSApp activateIgnoringOtherApps:YES];
|
||||||
|
|
||||||
[window setHasShadow:YES];
|
[window setHasShadow:YES];
|
||||||
[window setAcceptsMouseMovedEvents:YES];
|
[window setAcceptsMouseMovedEvents:YES];
|
||||||
[window useOptimizedDrawing:YES];
|
[window useOptimizedDrawing:YES];
|
||||||
|
Loading…
Reference in New Issue
Block a user