[Backport to Xwayland 22.1] Backport various fixes and changes
This backports:
7e755cf2 xwayland: Add -force-xrandr-emulation switch85e80d94 xwayland: Add some more xwayland fake modes- 01aec580 xwayland/output: Set the "RANDR Emulation" property
- b75a3fb7 randr: Add "RANDR Emulation" property
874d539c randr: No need to check RRGetOutputProperty() twice- adf9d3db xwayland: Fix invalid pointer access in drm_lease_device_handle_released.
I plan to make an xwayland-22.1.2 release soon to fix #1344 (closed) and plenty of other similar downstream bugs.
Maybe backporting 7e755cf2 "xwayland: Add -force-xrandr-emulation switch" could be controversial (as it is not an actual fix) but I reckon it's just a safe and small addition so I chose to include it.
Edited by Olivier Fourdan