swayfx/sway
Ryan Dwyer 834805f5e2 Fix crash when disconnecting output
We were freeing the sway_output immediately upon disconnect which left
a dangling pointer in the output's container. It then tried to use the
pointer when the container is freed.

We don't need to store the sway_output in an output's container which is
destroying, so the fix is to set the pointer to NULL and remove the use
in container_free.

Also added an arrange when the output is disconnected for good measure.
2018-06-26 19:40:42 +10:00
..
commands Fix crash when running move <direction> in an empty workspace 2018-06-24 16:03:24 +10:00
config Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
desktop Fix crash when disconnecting output 2018-06-26 19:40:42 +10:00
input Fix crash when deleting last child in a tabbed or stacked container 2018-06-23 17:47:28 +10:00
tree Fix crash when disconnecting output 2018-06-26 19:40:42 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement gaps (PR #2047) 2018-06-09 09:34:56 -04:00
config.c Refactor everything that needs to arrange windows 2018-06-09 10:11:25 +10:00
criteria.c sway/criteria: gcc string truncation warning fix 2018-06-08 22:30:13 +09:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Fix compilation errors related to disabled outputs 2018-06-09 11:38:16 +01:00
ipc-server.c Switch output storing from list_t to wl_list 2018-06-06 20:11:24 -04:00
main.c Merge remote-tracking branch 'upstream/master' into atomic 2018-06-23 16:26:20 +10:00
meson.build Merge remote-tracking branch 'upstream/master' into atomic 2018-06-11 11:03:43 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Implement transaction timings debug 2018-06-25 09:09:43 +10:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Add sway-input(5) 2018-05-11 21:25:05 -04:00
sway.1.scd Add sway(5) 2018-05-11 21:03:43 -04:00
sway.5.scd Support i3's legacy force_focus_wrapping command 2018-05-28 11:09:46 -04:00