RĂ©mi Bernon rbernon@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.