sway/sway
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
..
commands Reload config using idle event 2018-10-08 19:28:53 +10:00
config Merge pull request #2725 from PumbaPe/add-tap-and-drag 2018-09-30 13:44:11 +02:00
desktop Give focus to another swaylock surface when output is disconnected 2018-10-04 19:36:19 +10:00
input Reload config using idle event 2018-10-08 19:28:53 +10:00
tree Move sticky containers when switching workspace via criteria 2018-10-06 19:16:41 +10:00
commands.c Shim client.background and client.placeholder 2018-10-07 14:44:37 -04:00
config.c Reload config using idle event 2018-10-08 19:28:53 +10:00
criteria.c Fix tiling criteria 2018-10-03 20:33:32 +10:00
debug-tree.c Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
decoration.c Rename view_set_csd_from_client to view_update_csd_from_client 2018-09-27 22:51:37 +10:00
ipc-json.c ipc: set "type" of floating containers to "floating_con" 2018-10-06 18:11:05 +01:00
ipc-server.c Make sway/ipc-server.c POSIX 2001 compliant 2018-09-26 20:10:53 +02:00
main.c Add support for installing binaries with DT_RPATH 2018-09-30 15:37:01 +03:00
meson.build Add configuration for raising containers on focus 2018-10-03 16:23:12 +02:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
sway-bar.5.scd sway{,bar,input}.5: changes for generic blocks 2018-09-28 13:30:54 -04:00
sway-input.5.scd Fix some missing commands in sway-input(5) 2018-10-03 07:50:37 -04:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd Add manpage documentatioon for raise_floating 2018-10-03 16:23:14 +02:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00
xdg_decoration.c Improve CSD logic 2018-09-27 22:51:37 +10:00