diff options
author | 2020-02-11 14:17:33 +0100 | |
---|---|---|
committer | 2020-02-11 20:52:02 -0500 | |
commit | f5fa0c7124dde3438a22550aae017f824d20c93b (patch) | |
tree | 4da13f1062a73c8b6db9c31f795fc31df3379fe3 /README.ru.md | |
parent | Call apply_output_config instead of output_enable (diff) | |
download | sway-f5fa0c7124dde3438a22550aae017f824d20c93b.tar.gz sway-f5fa0c7124dde3438a22550aae017f824d20c93b.tar.zst sway-f5fa0c7124dde3438a22550aae017f824d20c93b.zip |
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
Diffstat (limited to 'README.ru.md')
0 files changed, 0 insertions, 0 deletions