<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">If we left them out of the connection setup block and relied on a separate
request to get a list of DeepColor visuals it would alleviate that issue, but
then we run into the same issue Aaron pointed out with XGetWindowAttributes.
Non-HDR clients would get what appears to be a bogus visual when querying the
visual of an HDR window because xlib would be unaware of it.</pre></blockquote><div>If you keep track of whether clients support HDR per-connection, you could fake the HDR windows' visual id for the non-HDR clients, returning a TrueColor visual id instead. This will avoid the problem of the client thinking that the visual id is bogus.</div><div><br></div><div>Jacob Lifshay</div></div>