Created
March 9, 2014 04:37
-
-
Save khenriks/9442982 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dlls/winemac.drv/cocoa_main.m b/dlls/winemac.drv/cocoa_main.m | |
index 6682f98..6f48343 100644 | |
--- a/dlls/winemac.drv/cocoa_main.m | |
+++ b/dlls/winemac.drv/cocoa_main.m | |
@@ -106,6 +106,9 @@ static void run_cocoa_app(void* info) | |
*/ | |
int macdrv_start_cocoa_app(unsigned long long tickcount) | |
{ | |
+ ProcessSerialNumber psn = { 0, kCurrentProcess }; | |
+ TransformProcessType(&psn, kProcessTransformToForegroundApplication); | |
+ | |
int ret = -1; | |
CFRunLoopSourceRef source; | |
struct cocoa_app_startup_info startup_info; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment