mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
Merge pull request #3460 from emersion/output-enable-segfault
Fix segfault in output_enable
This commit is contained in:
commit
60220fcecd
1 changed files with 1 additions and 0 deletions
|
@ -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