Fix segfault in output_enable

This commit is contained in:
emersion 2019-01-18 14:52:40 +01:00
parent dd4a6586b2
commit 6ff54d0640
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

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();
}