I didn't knew, that here is the right point for answering my question (sorry for asking at the Wineskin forum under the name udwe).
Again: I want to start a Wine app from my Cocoa App. I use NSTask. The problem: Wine brings that app to the foreground (I don't want this, because the windows app only makes some background work).
I just made some progress in this case. I build Wine on my own and I changed the following in the Macdriver "cocoa_app.m":
In "- (void) transformProcessToForeground" I changed "[NSApp activateIgnoringOtherApps:YES];" to "...NO".
This now works (nearly) very fine. My app don't looses focus anymore. But there is one problem left: The Macdriver is ignoring the Info.plist in the Wineskin bundle. So it also ignores, that I made it to an agent (UIElement). Does anyone have some ideas, how I can hide the Dock Icon?
(If someone needs the changed compiled driver, please ask)
(Invisible) Background App
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users