xserver/hw/xwayland
Olivier Fourdan 2cc869626a xwayland: Restrict allow commit to the window manager
Xwayland offers a way for the window and compositing manager to hold the
surface commits through an X11 property _XWAYLAND_ALLOW_COMMITS.

Xwayland, however, does not actually check if the X11 client changing
the value of that property is indeed the X11 window manager, so any X11
client can potentially interfere with the Wayland surface mechanism.

Restrict access to the _XWAYLAND_ALLOW_COMMITS property to read-only,
except for the X11 window manager and the Xserver itself.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
2023-11-21 12:55:08 +00:00
..
desktop xwayland: set the app_id and install a desktop launcher 2022-06-30 17:53:01 +02:00
man Xwayland: document new "glamor" option 2023-11-02 08:18:00 +00:00
.gitignore xwayland: Add wp_viewport wayland extension support 2019-10-12 12:19:14 +02:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build glamor: Lift the GLX EGL backend from Xwayland 2023-11-07 17:59:24 +03:00
xwayland-cursor.c xwayland: Fix cursor color 2022-02-11 10:33:10 +01:00
xwayland-cursor.h xwayland: Add xwl_cursor_clear_frame_cb() 2021-10-25 12:05:42 +00:00
xwayland-cvt.c xwayland: Keep the CVT timings for non-standard modes 2023-05-15 10:33:21 +02:00
xwayland-cvt.h xwayland: Move Xwayland CVT declaration 2019-12-20 16:19:01 +01:00
xwayland-drm-lease.c xwayland: Clean up drm lease when terminating. #946 2023-07-17 08:25:39 +00:00
xwayland-drm-lease.h Xwayland: implement drm-lease-v1 2021-12-07 10:02:29 +00:00
xwayland-glamor-eglstream.c hw/Xwayland: add xwl_glamor_mode_flags enum 2023-11-02 08:18:00 +00:00
xwayland-glamor-gbm.c Xwayland: add "glamor" command line option 2023-11-02 08:18:00 +00:00
xwayland-glamor-xv.c xwayland: Cleanup and remove `xwayland.h` 2019-12-20 16:19:01 +01:00
xwayland-glamor.c glamor: Lift the GLX EGL backend from Xwayland 2023-11-07 17:59:24 +03:00
xwayland-glamor.h Xwayland: add "glamor" command line option 2023-11-02 08:18:00 +00:00
xwayland-input.c xwayland: Fallback to plain XTEST if EI does not work 2023-06-26 13:19:19 +02:00
xwayland-input.h xwayland: hook up wl_pointer.axis_v120 events 2023-01-18 13:33:54 +10:00
xwayland-output.c xwayland: Update the fullscreen window on output change 2023-11-16 11:14:04 +01:00
xwayland-output.h xwayland: Make xwl_randr_add_modes_fixed() public API 2023-07-18 12:25:26 +02:00
xwayland-pixmap.c xwayland: Rename xwl_pixmap_cb → xwl_buffer_release_cb 2020-07-07 13:47:11 +00:00
xwayland-pixmap.h xwayland: Rename xwl_pixmap_cb → xwl_buffer_release_cb 2020-07-07 13:47:11 +00:00
xwayland-present.c xwayland/present: Handle NULL window_priv in xwl_present_cleanup 2023-09-26 14:08:08 +00:00
xwayland-present.h xwayland: add support for wp-tearing-control-v1 2023-06-19 12:19:35 +02:00
xwayland-screen.c xwayland: Restrict allow commit to the window manager 2023-11-21 12:55:08 +00:00
xwayland-screen.h hw/Xwayland: add xwl_glamor_mode_flags enum 2023-11-02 08:18:00 +00:00
xwayland-shm.c xwayland/shm: Avoid integer overflow on large pixmaps 2021-10-05 10:00:02 +00:00
xwayland-shm.h xwayland: Move SHM declarations to their own header 2019-12-20 16:19:01 +01:00
xwayland-types.h xwayland: Add xwl_output to the Xwayland types 2023-11-16 11:14:04 +01:00
xwayland-vidmode.c xwayland: add a fixed geometry size for rootful 2022-06-30 17:52:22 +02:00
xwayland-vidmode.h xwayland: Move Xwayland vidmode declaration 2019-12-20 16:19:01 +01:00
xwayland-window-buffers.c xwayland: Try the Xwayland glamor hook to create pixmaps 2023-04-03 11:46:15 +02:00
xwayland-window-buffers.h xwayland: Cleanup and remove `xwayland.h` 2019-12-20 16:19:01 +01:00
xwayland-window.c xwayland: Do not resize when running fullscreen 2023-11-16 11:16:26 +01:00
xwayland-window.h xwayland: Add a helper function to update fullscreen 2023-11-16 11:14:04 +01:00
xwayland-xtest.c xwayland: Cancel the EI disconnect timer when freed 2023-10-11 11:05:08 +02:00
xwayland-xtest.h xwayland: Fallback to plain XTEST if EI does not work 2023-06-26 13:19:19 +02:00
xwayland.c Xwayland: add "glamor" command line option 2023-11-02 08:18:00 +00:00