Merge branch 'xwayland-disable-indirect-glx' into 'master'

xwayland: Refuse to start with indirect GLX enabled

See merge request xorg/xserver!1745
This commit is contained in:
Olivier Fourdan 2026-01-21 16:45:59 +01:00
commit 28f761e1fa

View file

@ -983,6 +983,10 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
else if (strcmp(argv[i], "-hidpi") == 0) {
xwl_screen->hidpi = 1;
}
else if (strcmp(argv[i], "+iglx") == 0) {
ErrorF("Xwayland does not support indirect GLX contexts\n");
return FALSE;
}
}
if (!xwl_screen->rootless) {