wlroots/types/scene
Isaac Freund 39e918edc8
scene: avoid redundant wl_surface.enter/leave events
Currently we send wl_surface.enter/leave when a surface is hidden
and shown again on the same output. In practice, this happens very
often since compositors like river and sway enable and disable
the scene nodes of surfaces as part of their atomic transaction
strategy involving rendering saved buffers while waiting for
clients to submit new buffers of the desired size.

The new strategy documented in the new comments avoids sending
redundant events in this case.
2026-03-13 17:59:13 +01:00
..
drag_icon.c wlr_scene: Don't disable scene nodes at creation time 2024-07-04 14:35:52 -04:00
layer_shell_v1.c scene/layer_shell_v1: Add support for exclusive_edge 2026-02-24 13:28:46 +00:00
output_layout.c scene: ignore duplicate wlr_scene_output_layout_add_output() calls 2024-02-20 11:04:46 +01:00
subsurface_tree.c scene: constify subsurface_tree_set_clip() 2024-03-20 12:56:28 +01:00
surface.c scene: avoid redundant wl_surface.enter/leave events 2026-03-13 17:59:13 +01:00
wlr_scene.c Adopt wlr_box_intersects where useful 2026-03-09 22:09:40 +00:00
xdg_shell.c xdg-surface: fix window geometry handling 2024-08-14 18:52:13 +00:00