diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-25 08:21:22 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-25 08:21:22 +1000 |
commit | b1a0e95e8e6ecf66542cc62e6109949de59afb5e (patch) | |
tree | 9d414feadd74c7e015fe9ca4064d9a185de42cbe /sway/commands/fullscreen.c | |
parent | a032925ae7667e917f2bd8d1b77de97b400b3bf7 (diff) |
Fix crash when disconnecting output
If the output being disconnected contains views, and the views are being
relocated to another output of a different size, a transaction must
occur to reconfigure them. This means by the time
container_discover_outputs is called, the output is already disabled and
wlr_output is NULL.
I considered making it check output->wlr_output, but output->enabled
should work just as well and is more descriptive.
Diffstat (limited to 'sway/commands/fullscreen.c')
0 files changed, 0 insertions, 0 deletions