Hmm, okay. I guess we have the same issue with GLX with layered windows, they are probably broken with child window already anyway.
Would it be enough to remove the `PFD_DRAW_TO_WINDOW` flag from the pixel format descriptor?
I'm thinking this could perhaps be done entirely on the winex11 side, and avoid completely removing the undesired configs including for non-onscreen usage, by hooking the `describe_pixel_format` driver func like this:
Sorry I missed this response. It would work, I think, and it looks correct, but I can't say I'm familiar enough with the intent of the API design to say that it is correct. Since you've more or less written the patch there, do you want to submit it? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9322#note_121958