On Thu Mar 28 14:13:47 2024 +0000, Rémi Bernon wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/5409/diffs?diff_id=107601&start_sha=5e6d8464106e070b08588b001be479bc108072ce#561751f09a3d9e02a084f385e9182f0184b50581_1076_1079)
I actually considered exposing it unconditionally, and I'm probably fine with it.
My thinking was that headless environment might not have any surface extension, and that we may want to reflect that on the PE side as it could be fine if applications doesn't care.
Probably exposing it all the time, and doing whatever we can if the host doesn't really support it (for now, crashing, later maybe some nulldrv thing), is also fine.
For now I changed the logic a bit, making it simpler, but still kept it conditionally exposed.