mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-14 06:18:07 +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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1745>
This commit is contained in:
parent
8e8c0e54c4
commit
b192c66e05
1 changed files with 4 additions and 0 deletions
|
|
@ -914,6 +914,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