sway-patched-tray-menu/sway/desktop
Kenny Levinsen 152a559e30 idle_inhibit: Store wlr inhibitor instead of view
When an application inhibited idle, a view pointer was stored and a
destroy listener was registered to the wlr inhibitor. As the wlr
inhibitor lives longer than the view, this lead to a dangling view
pointer between view unmap and inhibitor destroy.

Store a pointer to the wlr inhibitor instead of to the view, and look up
the view when needed, which may at any point be NULL. This also allows
for an inhibitor to remain functional if a surface is re-mapped.
2021-03-21 12:27:29 +01:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c idle_inhibit: Store wlr inhibitor instead of view 2021-03-21 12:27:29 +01:00
layer_shell.c desktop/layer_shell: Fix allocation type mismatch 2021-01-30 02:28:39 -05:00
output.c output: simplify layer surface iteration 2021-03-11 10:55:25 +01:00
render.c render: Clip surfaces to container bounds 2021-03-01 16:14:10 +01:00
surface.c Make handle_destroy and output_repaint_timer_handler static 2020-03-04 03:09:43 +01:00
transaction.c transaction: Remove unused ready_immediately 2021-02-23 19:38:05 +01:00
xdg_shell.c shells: Update comment about size change on commit 2021-02-23 19:38:05 +01:00
xwayland.c xwayland: simplify override-redirect focus restoration 2021-03-12 10:52:12 +01:00