sway/include/sway
Lars-Ragnar A. Haugen 0356a020c1 layer-shell: handle popup reposition for unconstraining
Layer shell popups were missing a handler for the xdg_popup reposition
event. When a client (e.g. GTK4) creates a popup and then sends a
reposition request, wlroots resets the scheduled geometry back to the
positioner's original value. Without a reposition handler, the
unconstrained geometry computed on the initial commit was lost, causing
popups such as tooltips to render outside the screen viewport.

This was most visible with GTK4 layer shell apps (e.g. taskbars) where
tooltips would appear below the bottom edge of the screen instead of
being flipped/slid into the visible area.

Also switch the destroy listener from wlr_popup->base->events.destroy
to wlr_popup->events.destroy so that cleanup runs before wlroots
asserts that all popup signal listeners have been removed.

Fixes #8518
2026-02-28 22:56:37 +01: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 Wire up xdg-toplevel-tag-v1 2025-07-16 10:03:09 +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 Add features.hdr to output IPC response 2025-07-09 01:25:11 +02:00
scene_descriptor.h scene_graph: Port xwayland 2024-01-18 18:36:54 +03:00
server.h sway: change unsupported GPU message to swaynag 2026-02-03 14:16:11 +01: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