diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-18 10:16:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-18 10:16:22 -0500 |
commit | 60220fcecd1d30c022b3137372d339204e8238c6 (patch) | |
tree | 40c249616f5bc7da696d2436879eab73244f18a7 | |
parent | Merge pull request #3457 from emersion/swaybg-no-escape (diff) | |
parent | Fix segfault in output_enable (diff) | |
download | sway-60220fcecd1d30c022b3137372d339204e8238c6.tar.gz sway-60220fcecd1d30c022b3137372d339204e8238c6.tar.zst sway-60220fcecd1d30c022b3137372d339204e8238c6.zip |
Merge pull request #3460 from emersion/output-enable-segfault
Fix segfault in output_enable
-rw-r--r-- | sway/tree/output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index 21beb504..b79e70d4 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -228,6 +228,7 @@ void output_disable(struct sway_output *output) { | |||
228 | list_del(root->outputs, index); | 228 | list_del(root->outputs, index); |
229 | 229 | ||
230 | output->enabled = false; | 230 | output->enabled = false; |
231 | output->configured = false; | ||
231 | 232 | ||
232 | arrange_root(); | 233 | arrange_root(); |
233 | } | 234 | } |