xserver/hw/xwayland
Olivier Fourdan 3059a2e62a xwayland: Disable the MIT-SCREEN-SAVER extension when rootless
Xwayland is just a Wayland client, no X11 screensaver should be
expected to work reliably on Xwayland when running rootless because
Xwayland cannot grab the input devices so it has no way to actually
lock the screen managed by the Wayland compositor.

Turn off the screensaver on Xwayland when running rootless by setting
the screensaver timeout and interval and their default values to zero
and disable the MIT-SCREEN-SAVER extension.

Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1051
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 5c20e4b834)
2020-08-12 16:55:58 +02:00
..
.gitignore glamor: Implement PixmapFromBuffers and BuffersFromPixmap 2018-03-05 13:27:49 -05:00
Makefile.am xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
xwayland-cursor.c xwayland: Reset scheduled frames after hiding tablet cursor 2019-06-06 11:48:13 +02:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-eglstream.c glamor/xwayland: Define EGL_NO_X11 2019-11-05 08:12:03 -08:00
xwayland-glamor-gbm.c xwayland: import DMA-BUFs with GBM_BO_USE_RENDERING only 2020-07-03 10:51:36 +00:00
xwayland-glamor-xv.c xwayland: use the lowercase xnf.*alloc API 2017-09-06 08:56:39 +10:00
xwayland-glamor.c glamor/xwayland: Define EGL_NO_X11 2019-11-05 08:12:03 -08:00
xwayland-input.c xwayland: Store xwl_tablet_pad in its own private key 2020-07-20 15:54:39 +02:00
xwayland-output.c xwayland: Expand the RANDR screen size limits 2019-07-26 19:44:03 +00:00
xwayland-present.c xwayland: Hold a pixmap reference in struct xwl_present_event 2020-07-22 16:39:33 +00:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Initialise values in xwlVidModeGetGamma() 2020-07-20 15:54:39 +02:00
xwayland.c xwayland: Disable the MIT-SCREEN-SAVER extension when rootless 2020-08-12 16:55:58 +02:00
xwayland.h xwayland: Hold a pixmap reference in struct xwl_present_event 2020-07-22 16:39:33 +00:00