wine icon indicating copy to clipboard operation
wine copied to clipboard

Please bring back X11DRV_GET_DRAWABLE (winex11.drv, needed by nine)

Open axeldavy opened this issue 3 years ago • 2 comments

Hey there.

Despite what the original commit removing the function said, it's not unused:

https://github.com/ValveSoftware/wine/commit/96b82203f192eade6910f4ac2ecb188e27d22feb

Indeed it's used by ... gallium nine.

Having gallium nine work with proton has been something requested many times by users: https://github.com/iXit/wine-nine-standalone/issues/131

Since wine devs didn't want nine do be part of the wine package, nine cannot access wine internal structures. Since we don't present through gl or vk, nine needs to get the X drawable somehow. And that's exactly what this function enables nine to do. I don't see any other way nine could work without this function (or a remplacement one, but let's keep the code similar with the main wine tree, right ?) I don't think adding back the function hurts anything, so...

axeldavy avatar Oct 15 '22 12:10 axeldavy

Bump, the issue is still valid. Please revert if possible!

okias avatar Jan 25 '23 20:01 okias