wlroots/include
Ronan Pigott 7375fbda16 scene: only send leave events to outputs with matching scene root
In handling scene buffer output updates, wlroots would send a leave event to
all entered outputs, even those that the scene root for the scene output update
event did not own. Leaving the output list inaccurate.

Sending leave events only for the given scene introduces a problem, though:
existing logic to de-duplicate leave events stops us from sending a leave event
when we leave all the outputs in a scene, and when the surface then becomes
visible in another scene, the frame pacing output cannot be selected
accurately. This breaks screen capture for off-screen windows in sway.

So, let us also mark outputs that would have been left but were spared by the
deduplication logic as "suspended" indicating they are ineligible as frame
pacing outputs.

Fixes: https://github.com/swaywm/sway/issues/9094
2026-03-28 10:39:22 -07:00
..
backend output/drm: don't use OUT_FENCE_PTR 2026-03-17 18:14:35 +00:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render: explicit sync for wlr_texture_read_pixels() 2026-03-26 12:44:09 +00:00
types types/wlr_buffer: add buffer_get_drm_format helper function 2026-02-06 13:53:46 +00:00
util util/mem: Move memdup to new util/mem.c file 2025-07-17 16:39:58 +01:00
wlr scene: only send leave events to outputs with matching scene root 2026-03-28 10:39:22 -07:00
xcursor Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland treewide: make type-check helpers take const pointers 2026-03-06 16:04:21 +08:00
meson.build render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00