mirror of
https://github.com/swaywm/sway.git
synced 2024-11-05 16:03:11 +00:00
82423991a8
This patch makes it so when you run reload, the actual reloading is deferred to the next time the event loop becomes idle. This avoids several use-after-frees and removes the workarounds we have to avoid them. When you run reload, we validate the config before creating the idle event. This is so the reload command will still return an error if there are validation errors. To allow this, load_main_config has been adjusted so it doesn't apply the config if validating is true rather than applying it unconditionally. This also fixes a memory leak in the reload command where if the config failed to load, the bar_ids list would not be freed. |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaylock | ||
swaynag | ||
background-image.h | ||
cairo.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
readline.h | ||
stringop.h | ||
unicode.h | ||
util.h |