[PATCH v3 3/3] ddraw: Restore the primary surface if we're the Foreground window, even if the device state is lost.

Stefan Dösinger stefandoesinger at gmail.com
Tue Jul 28 05:32:15 CDT 2020



> Am 27.07.2020 um 20:53 schrieb Gabriel Ivăncescu <gabrielopcode at gmail.com>:
> 
> +        if (GetForegroundWindow() != window) return DDERR_WRONGMODE;

For the purpose of my understanding: is window != NULL here when Railroad Tycoon 2 hits this codepath?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200728/4c387895/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200728/4c387895/attachment-0001.sig>


More information about the wine-devel mailing list