wlroots/include/wlr
Ronan Pigott 9d3ec642c2 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
(cherry picked from commit e532b4c26c)
2026-05-19 15:56:40 -04:00
..
backend backend/libinput: expose libinput_tablet_tool 2026-01-19 20:45:39 +01: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: add wlr_drm_syncobj_timeline_signal() 2026-03-19 19:48:36 +01:00
types scene: only send leave events to outputs with matching scene root 2026-05-19 15:56:40 -04:00
util Use WLR_PRIVATE for private fields 2024-10-25 07:51:51 +03: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