mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 01:41:30 +00:00
Fix segfault in output_enable
This commit is contained in:
parent
dd4a6586b2
commit
6ff54d0640
|
@ -228,6 +228,7 @@ void output_disable(struct sway_output *output) {
|
||||||
list_del(root->outputs, index);
|
list_del(root->outputs, index);
|
||||||
|
|
||||||
output->enabled = false;
|
output->enabled = false;
|
||||||
|
output->configured = false;
|
||||||
|
|
||||||
arrange_root();
|
arrange_root();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue