mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-01 17:30:58 +02:00
xwayland: Refuse to start with indirect GLX enabled
Xwayland does not support indirect GLX contexts and enabling them will crash the xserver. Refuse to start if indirect GLX contexts are enabled on the command line. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
1427294685
commit
b723eb5085
1 changed files with 4 additions and 0 deletions
|
|
@ -896,6 +896,10 @@ xwl_screen_validate_options(int argc, char **argv)
|
|||
else if (strcmp(argv[i], "-rootless") == 0) {
|
||||
rootless = TRUE;
|
||||
}
|
||||
else if (strcmp(argv[i], "+iglx") == 0) {
|
||||
ErrorF("Invalid argument, '+iglx' (indirect GLX context) is not supported\n");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
if (rootless && use_fixed_size) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue