swayfx/sway/input
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
..
cursor.c Ignore unrelated cursor buttons while doing seat operations 2018-10-04 20:57:03 +10:00
input-manager.c add tap-and-drag setting to sway-input 2018-09-29 11:49:41 +02:00
keyboard.c Reload config using idle event 2018-10-08 19:28:53 +10:00
seat.c Move sticky containers when switching workspace via criteria 2018-10-06 19:16:41 +10:00