Глядя на мой вывод xdpyinfo, я вижу много повторяющихся визуалов с точно такими же характеристиками.Почему они повторяются?
Например,
visual:
visual id: 0x6e
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x6f
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
0x6e и 0x6f абсолютно одинаковы.
Смежный вопрос: визуал уже имеет понятие глубины,так почему требуется передавать глубину и визуал в XCreateWindow?