Merge pull request #4772 from Mandar-Shinde/master
macosx: Bring newly launched freerdp window to front
This commit is contained in:
commit
6b07a3f2be
@ -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
Block a user