wlroots/include/wlr
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 treewide: make type-check helpers take const pointers 2026-03-06 16:04:21 +08:00
interfaces ext_image_copy_capture_v1: replace schedule_frame with request_frame 2026-01-05 15:03:18 -05:00
render render/drm_syncobj: fix flags docs for wlr_drm_syncobj_timeline_waiter_init() 2026-03-27 18:02:46 +00:00
types scene: only send leave events to outputs with matching scene root 2026-03-28 10:39:22 -07:00
util util/box: Add wlr_box_intersects 2026-03-09 22:09:40 +00:00
xwayland xwayland: add set_size_hints signal 2026-01-15 11:49:49 +01:00
backend.h backend: drop wl_display refs from docs 2025-01-11 21:36:29 +00:00
config.h.in Document config.h 2025-03-10 15:02:26 +00:00
meson.build Version pkgconfig, headers, and library for parallel installation 2024-05-27 22:15:00 +00:00
version.h.in Add wlr_version_get_{major,minor,micro}() 2025-12-13 11:06:28 +00:00
xcursor.h treewide: fix typos 2026-02-28 04:26:47 -03:00
xwayland.h xwayland: split headers 2022-11-02 19:00:23 +01:00