sway/include/sway
Alexander Orzechowski 41c94c2c72 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
(cherry picked from commit 81246fc6dc)
2026-04-12 18:33:42 +02:00
..
desktop Revert "sway/tree: Simplify sway_node teardown" 2025-06-28 11:26:49 +02:00
input input/text_input: remove event listeners on destroy 2025-04-13 23:40:56 +02:00
tree container: Move foreign toplevel enter/leave events to view 2026-04-12 18:33:42 +02:00
commands.h Add support for HDR10 output 2025-07-09 01:25:11 +02:00
config.h sway/commands/output: add color_profile "--device-primaries" 2026-01-04 19:48:23 +01:00
criteria.h Add xdg_toplevel tag to criteria 2025-07-16 10:03:09 +02:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.h sway: add non-desktop outputs to json when running swaymsg -t get_outputs 2022-09-19 07:26:45 -04:00
ipc-server.h ipc: add support for output event 2023-02-01 11:32:57 -05:00
layers.h layer-shell: handle popup reposition for unconstraining 2026-02-28 22:56:37 +01:00
lock.h ext-session-lock: Do not use commit listener to arrange 2024-09-20 00:26:36 -04:00
output.h ext-workspace-v1: initial implementation 2026-03-26 16:21:46 +01:00
scene_descriptor.h scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
server.h Don't ignore initialisation errors 2026-04-12 18:33:42 +02:00
sway_text_node.h Introduce sway_text_node 2024-01-18 18:36:54 +03:00
swaynag.h swaynag: add printf attribute to swaynag_log() 2023-04-14 18:34:54 +02:00
xdg_decoration.h xdg-shell: chase events update 2023-11-23 19:41:57 +01:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00