Skip to content

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

@axeldavy

Description

@axeldavy

Hey there.

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

96b8220

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

Having gallium nine work with proton has been something requested many times by users:
iXit/wine-nine-standalone#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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions