mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
As upstream might report a huge number of visuals with same parameters,
we have a deduplication mechanism.
This code has a bug: instead of just skipping duplicates, it completely
breaks off once the first duplicate is found - leading to only one depth
supported.
Fixes: adc7f9a4eb
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>