1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-05-18 04:06:18 +02:00
sway/include
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
..
sway idle_inhibit: Store wlr inhibitor instead of view 2021-03-21 12:27:29 +01:00
swaybar Fix swaybar tray for non-systemd 2020-12-16 21:19:20 +01:00
swaynag swaynag: add details background option 2020-09-14 22:13:01 -04:00
background-image.h Initial swaylock port 2018-04-04 18:47:48 -04:00
cairo.h swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.h swaymsg: add timeout and type checks 2019-04-17 09:07:08 +03:00
ipc.h i3-compat: add GET_BINDING_STATE IPC command 2020-06-14 00:55:14 -04:00
list.h list.c: rename free_flat_list to list_free_items_and_destroy 2018-12-09 01:15:38 +00:00
log.h Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.h Remove timerfd from loop implementation 2018-10-15 00:26:27 +10:00
meson.build Address review comments 2018-03-28 14:43:23 -04:00
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h client/pool-buffer: munmap in destroy_buffer 2018-05-27 14:09:48 +01:00
stringop.h common: make 'lenient_strcmp' arguments const 2020-12-04 10:49:49 +01:00
util.h moved and renamed movement-unit parsing to common 2020-07-21 10:07:01 +02:00