> > 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. > > 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.
Jacob Lifshay
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel