[PATCH 3/3] explorer: Load null graphics driver as a fallback.

Alexandre Julliard julliard at winehq.org
Thu Apr 15 09:44:34 CDT 2021


Rémi Bernon <rbernon at codeweavers.com> writes:

> This last patch makes it possible to use the null driver by starting
> the prefix with "DISPLAY= wine ...". It changes the behavior a bit, as
> it doesn't fallback to nodrv_CreateWindow anymore in that case.
>
> However, nodrv_CreateWindow fallback is still used if the prefix (ie:
> explorer.exe) was started with an X11 display, and some other process
> is later started without a display.
>
> I'm not sure in any case if that matters much or if it would be better
> to add the nodrv_CreateWindow warning to nulldrv?

The idea is that DISPLAY not being set is almost always user error, so
it's better to fail than to run with invisible output, and running with
the null driver needs to be requested explicitly.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list