[Bug 48170] start.exe: /min no longer works

WineHQ Bugzilla wine-bugs at winehq.org
Mon Nov 25 20:35:52 CST 2019


https://bugs.winehq.org/show_bug.cgi?id=48170

--- Comment #2 from Damjan Jovanovic <damjan.jov at gmail.com> ---
(In reply to Damjan Jovanovic from comment #1)
> That's unusual, as we check for "/min":
> 
>                 else if (is_option(argv[i], minW)) {
>                         sei.nShow = SW_SHOWMINIMIZED;
>                 }
> 
> and set SW_SHOWMINIMIZED into sei.nShow
> 
> There are then 2 paths to launch the executable, the ShellExecuteExW() path
> which takes the sei, and the CreateProcessW() path, which does convert
> sei.nShow into startup_info.wShowWindow:
> 
>                     startup_info.wShowWindow = sei.nShow;
> 
> Maybe we also need to set STARTF_USESHOWWINDOW into startup_info.dwFlags?

That is the case.

Patch sent: https://source.winehq.org/patches/data/174517

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list