xserver/hw
Olivier Fourdan 7b7170ecd6 xwayland/output: Set the "RANDR Emulation" property
Xwayland does not change the actual XRANDR setup for real, it just
emulates the resolution changes using viewports in Wayland.

With a single output, if an X11 applications tries to change the CRTC
back to the native mode, RRCrtcSet() will simply ignore the request as
no actual change is induced by this.

Set the property "RANDR Emulation" on all Xwayland outputs to make sure
the optimizations in RRCrtcSet() get skipped and Xwayland can receive
and act upon the client request.

Also make sure we do not allow that property to be changed by X11
clients.

v2: Prevent X11 clients from changing the property value
    (Pekka Paalanen <pekka.paalanen@collabora.com>)

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1305
2022-04-20 10:03:32 +02:00
..
kdrive Replace "the the" with a single "the" in docs & comments 2022-03-31 13:27:57 -07:00
vfb Remove autotools support 2021-10-27 13:15:40 +03:00
xfree86 xfree86: finish removing numTimings in xf86ValidateModes() 2022-04-05 16:08:56 -07:00
xnest Replace "the the" with a single "the" in docs & comments 2022-03-31 13:27:57 -07:00
xquartz Replace "the the" with a single "the" in docs & comments 2022-03-31 13:27:57 -07:00
xwayland xwayland/output: Set the "RANDR Emulation" property 2022-04-20 10:03:32 +02:00
xwin gen_gl_wrappers: remove unused imports 2022-04-02 18:06:30 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00