sway/include/sway/tree
Alexander Orzechowski 81246fc6dc container: Move foreign toplevel enter/leave events to view
It made sense to put it on the container level because the protocol cares
about the toplevel and that includes its decorations. But, this breaks
down when we consider if the container's view is fullscreen and the container
decorations are disabled. Moving it to the view manages this expected lifetime
better. Since the buffer is now part of the view, the buffer will get
negative coordinates to act as if it's part of the container when we
want to.

A known issue is that we will send spurious leave/enter events while
we reconfigure the scene for entering/exiting fullscreen. The fix for
this loops back to atomic updates to scene and that is outside of the scope
of this commit.

Fixes: #9000
2026-04-12 13:46:38 +02:00
..
arrange.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
container.h container: Move foreign toplevel enter/leave events to view 2026-04-12 13:46:38 +02:00
node.h Revert "sway/tree: Simplify sway_node teardown" 2025-06-28 11:26:49 +02:00
root.h (desktop|tree)/output: Do not use layout listener to arrange 2024-09-04 13:49:35 -04:00
view.h container: Move foreign toplevel enter/leave events to view 2026-04-12 13:46:38 +02:00
workspace.h Don't ignore initialisation errors 2026-04-10 13:13:42 +02:00