xwayland: Fix "-force-xrandr-emulation"
Commit7cdcdfea0
introduced a new command line option "-force-xrandr-emulation", however it is missing from the ddxProcessArgument(). As a result, trying to use that command option would result in a error: (EE) Unrecognized option: -force-xrandr-emulation Make sure "-force-xrandr-emulation" is accounted for in Xwayland's ddxProcessArgument(). Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Fixes:7cdcdfea0
- xwayland: Add -force-xrandr-emulation switch
This commit is contained in:
parent
11beef0b7f
commit
24d7d93ff2
|
@ -230,6 +230,9 @@ ddxProcessArgument(int argc, char *argv[], int i)
|
||||||
touchEmulatePointer = FALSE;
|
touchEmulatePointer = FALSE;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
else if (strcmp(argv[i], "-force-xrandr-emulation") == 0) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
else if (strcmp(argv[i], "-geometry") == 0) {
|
else if (strcmp(argv[i], "-geometry") == 0) {
|
||||||
CHECK_FOR_REQUIRED_ARGUMENTS(1);
|
CHECK_FOR_REQUIRED_ARGUMENTS(1);
|
||||||
return 2;
|
return 2;
|
||||||
|
|
Loading…
Reference in New Issue