mirror of https://github.com/FreeRDP/FreeRDP
macos: Bring RDP window to front
To bring RDP window on top of all the windows
This commit is contained in:
parent
6bd1a7d2a5
commit
093fe83386
|
@ -290,6 +290,8 @@ void mac_set_view_size(rdpContext* context, MRDPView* view)
|
|||
[[view window] setContentMaxSize:innerRect.size];
|
||||
// set window to given area
|
||||
[[view window] setFrame:outerRect display:YES];
|
||||
// set window to front
|
||||
[NSApp activateIgnoringOtherApps:YES];
|
||||
|
||||
if (context->settings->Fullscreen)
|
||||
[[view window] toggleFullScreen:nil];
|
||||
|
|
Loading…
Reference in New Issue