Compare commits

...

1 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult 140c2d72cb Xnest: fix upstream visuals retrieval and visual reporting
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>
2024-08-14 11:16:47 +02:00

View File

@ -205,7 +205,7 @@ xnestOpenScreen(ScreenPtr pScreen, int argc, char *argv[])
break;
}
if (j < numVisuals)
break;
continue;
visuals[numVisuals].vid = FakeClientID(0);