aboutsummaryrefslogtreecommitdiff
path: root/include/sway/layers.h
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2020-02-16 01:47:59 -0500
committerSimon Ser <contact@emersion.fr>2020-02-16 09:42:22 +0100
commit8b593677d262b9018d2bcb9093f03fbccb38c43b (patch)
tree8e13a78ca12ba442b6b8963ef67840088643d3d0 /include/sway/layers.h
parent447967ad3a68b5a515581e4db76fb232cf56caa3 (diff)
output: fix updating output manager config
The output manager config is created when the output is created. It is updated when the mode, transform, scale, or layout for the output changes, as well as, when the output is destroyed. Since the output->enabled property was not being set before calling apply_output_config, the output event handlers were early returning and never updating the output manager config when the output state was committed. This fixes the issue by setting output->enabled in apply_output_config below the output disabling section. There are also a few other minor changes that are required to function. Additionally, this renames output_enable to output_configure to better describe the recent changes.
Diffstat (limited to 'include/sway/layers.h')
0 files changed, 0 insertions, 0 deletions