New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add visual IDs to X11 handles #83
Conversation
If 0 is generally "invalid" then that's fine as the default. |
That doesn't seem to be documented either way, though empirically it seems to hold (see |
You could perhaps submit a patch to their documentation, saying that a visual ID that is And here, mentioning that |
I don't think I have the energy to work out the contribution process for Xlib.
Where is that meaning specified? https://xcb.freedesktop.org/xlibtoxcbtranslationguide/ does also seem to use 0 as a sentinel. |
@Ralith how about just expanding the doc comments a bit on our end. Just add a line that says "the current default is 0, which seems to be the standard sentinel for a missing value of this type" or something like that. |
Yeah, me neither, I was hoping you might already be involved.
Sorry, I meant you (or a person contributing to the documentation) would update the docs there too, to specify what "not present" means.
Fine by me. |
Needed for Vulkan physical device presentation support queries.
How's this? |
excellent. |
Needed for Vulkan physical device presentation support queries (e.g.
vkGetPhysicalDeviceXlibPresentationSupportKHR
).I'm not sure what, if anything, would be a sensible default value for these that won't cause fallout if someone tries to use it. Do we try to solve that problem in general?