Merge pull request #3460 from emersion/output-enable-segfault

Fix segfault in output_enable
This commit is contained in:
Drew DeVault 2019-01-18 10:16:22 -05:00 committed by GitHub
commit 60220fcecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -228,6 +228,7 @@ void output_disable(struct sway_output *output) {
list_del(root->outputs, index);
output->enabled = false;
output->configured = false;
arrange_root();
}