From 093fe83386c293ecfb04d31ecc2f8fb92a279102 Mon Sep 17 00:00:00 2001 From: Mandar <01.mandar@gmail.com> Date: Fri, 27 Jul 2018 15:54:57 +0530 Subject: [PATCH] macos: Bring RDP window to front To bring RDP window on top of all the windows --- client/Mac/cli/AppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) 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];