diff --git a/client/Mac/cli/AppDelegate.m b/client/Mac/cli/AppDelegate.m index ec4057387..ed5bfcac8 100644 --- a/client/Mac/cli/AppDelegate.m +++ b/client/Mac/cli/AppDelegate.m @@ -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];