swayfx/sway/config
Simon Ser f5fa0c7124 Stop calling apply_output_config from output_enable
The only output_enable caller is now apply_output_config. Stop calling
apply_output_config from output_enable to simplify the code and avoid
the back-and-forth between these two functions.

output_enable is now the symmetric of output_disable: it just marks the
output as enabled and performs bookkeeping (e.g. creating teh default
workspace). It is called from apply_output_config after the output
commit, so that it can read the current output state and act
accordingly.

This change also allows us to avoid an extraneous wlr_output_commit.

References: https://github.com/swaywm/sway/issues/4921
2020-02-11 20:52:02 -05:00
..
bar.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
input.c config/input: set type for new identifier configs 2019-12-14 09:31:42 -05:00
output.c Stop calling apply_output_config from output_enable 2020-02-11 20:52:02 -05:00
seat.c Add seat <seat> idle_{inhibit,wake} <sources...> 2019-12-12 10:37:30 -05:00