projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd1a7d
)
macos: Bring RDP window to front
author
Mandar
<01.mandar@gmail.com>
Fri, 27 Jul 2018 10:24:57 +0000
(15:54 +0530)
committer
GitHub
<noreply@github.com>
Fri, 27 Jul 2018 10:24:57 +0000
(15:54 +0530)
To bring RDP window on top of all the windows
client/Mac/cli/AppDelegate.m
patch
|
blob
|
history
diff --git
a/client/Mac/cli/AppDelegate.m
b/client/Mac/cli/AppDelegate.m
index
ec40573
..
ed5bfca
100644
(file)
--- 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];