weston/clients
Derek Foreman bf311ff232 screenshooter: Don't fail the first time an output won't capture
Historically, weston-screenshooter attempts a capture on all
wl_outputs, and if any output fails to capture it exits immediately.

These days it's possible to set up the pipewire backend to mirror
a drm backend output. This leads to surprising behaviour if one
tries to screenshot while no pipewire client is in use. Since the
pipewire backend has no buffer to render into at this point, the
screenshot fails. The drm screenshot is then dropped on the floor
because one of the wl_outputs failed to capture.

Avoid this for now by just continuing in the case of such
"graceful failures". Though maybe in the future we should allow
picking a wl_output by name, or have a command line switch to
decide whether to stop after a failure or not.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2025-09-04 08:54:52 -05:00
..
calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
clickdot.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
cliptest.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
color.c color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
constraints.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
content_protection.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
desktop-shell.c desktop-shell: Add scale-fit background type 2025-08-18 16:42:26 +09:00
dnd.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
editor.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
eventdemo.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
flower.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
fullscreen.c clients/fullscreen: Add option to map window fullscreen 2025-01-06 12:17:40 +00:00
image.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
ivi-shell-user-interface.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
keyboard.c weston-keyboard: Create input_panel_surface earlier 2023-11-21 13:30:51 +00:00
meson.build fullscreen-shell: Deprecate fullscreen-shell and screenshare module 2025-05-30 14:31:08 +03:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
presentation-shm.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
resizor.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
scaler.c clients/scaler: check viewporter availability 2023-05-02 18:02:33 +03:00
screenshot.c screenshooter: Don't fail the first time an output won't capture 2025-09-04 08:54:52 -05:00
simple-damage.c clients/simple-damage: Remove zwp_fullscreen support 2024-05-27 16:49:21 +00:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: Add missing destructors 2025-05-23 20:36:05 +01:00
simple-dmabuf-feedback.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-v4l.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-dmabuf-vulkan.c clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple-egl.c clients/simple-egl: destroy tearing_manager on exit 2025-04-02 06:34:13 +00:00
simple-im.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-shm.c gl-renderer: Fix SHM RGB888 and BGR888 endianness 2025-04-01 12:31:51 +02:00
simple-touch.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
simple-vulkan.c clients/simple-vulkan: move render_done semaphore to image 2025-06-25 14:12:22 +00:00
simple_dmabuf_vulkan_fragment_shader.frag clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_dmabuf_vulkan_vertex_shader.vert clients/simple-dmabuf-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_fragment_shader.frag clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
simple_vulkan_vertex_shader.vert clients/simple-vulkan: New Vulkan client example 2025-05-23 20:36:05 +01:00
smoke.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
stacking.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
subsurfaces.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
tablet.c clients: Add demo application for tablets 2023-03-31 12:10:26 +00:00
terminal.c terminal: Restore SIGPIPE signal handler to oldact (SIG_DFL) 2025-03-13 10:37:08 +02:00
touch-calibrator.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
transformed.c clients/window: Add functions to set/retrieve app_id 2022-01-21 18:39:23 +00:00
weston-debug.c Revert "shared/helpers.h: Migrate helpers.h to libweston" 2025-01-17 10:18:26 +02:00
window.c libweston, clients, tests: implement weston_matrix in terms of weston_mat4f 2025-04-01 15:59:54 +03:00
window.h clients/window: Allow rendering frame wihout shadow 2024-09-09 13:51:51 +00:00