aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-10-17 01:19:28 +0200
committerSimon Ser <contact@emersion.fr>2024-10-20 22:10:37 +0200
commit46003d0e85887a051930e5941d4bac6046ebe60c (patch)
tree2f39a2167c5510c5df3ef1905731d37765a976ac /common
parentbaea664edc5e360d2855c9a95e035299245eaca0 (diff)
config/output: Remove initial values in find_output_config
Starting by setting some special initial output config values settings was something sway used to do when the config was initially being processed. This was later changed to always happen, as there shouldn't be differences in how output config is calculated during config load and after. Most of these values are redundant, as they are either the zero value or a value that would be selected if the unset (-1) value was found. For output transforms, the automatic panel orientation code would only trigger if the final output config has an unset transform, which the initial values set in find_output_config made impossible. Remove these initial values and instead use a fresh output config as is. (cherry picked from commit 17ecb9eb1d355c677dc9cf772d372982b7b9541b)
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions