1
1
mirror of https://github.com/swaywm/sway synced 2024-09-28 15:21:32 +02:00
sway/include
Ryan Dwyer 82423991a8 Reload config using idle event
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.
2018-10-08 19:28:53 +10:00
..
sway Reload config using idle event 2018-10-08 19:28:53 +10:00
swaybar swaybar: add leading comma to click event JSON 2018-10-02 14:05:51 +01:00
swaylock swaylock: Support keyboard and pointer disconnects and reconnects 2018-10-06 09:38:12 +10:00
swaynag
background-image.h
cairo.h swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 2018-09-22 11:34:21 -07:00
ipc-client.h
ipc.h
list.h
log.h Remove __PRETTY_FUNCTION__ 2018-09-06 13:31:57 +12:00
meson.build
pango.h Fix pango escaping and refactor escape_markup_text 2018-09-22 18:33:28 +10:00
pool-buffer.h
readline.h
stringop.h Allow reload command to exist anywhere in the command string 2018-09-01 11:45:48 +10:00
unicode.h
util.h Remove obsolete base64.c file 2018-10-04 20:17:19 +01:00