swayfx/sway
Ryan Dwyer 8289e30308 Fix potential crash when destroying workspace
`_container_destroy` emits a destroy event, and any listener for this
event should have access to the full container, not a half destroyed
one.

`_container_destroy` also destroys the swayc, so we have to grab a
reference to the sway_workspace so we can free it afterwards.

This also fixes a memory leak where the floating container wasn't freed.

Fixes #2092.
2018-06-03 10:28:24 +10:00
..
commands Address first round of review for generic blocks 2018-06-02 08:07:44 -04:00
config Idle handling for dpms/lockscreen et al 2018-05-13 00:30:09 +02:00
desktop Schedule a frame even if damage is empty 2018-06-02 20:42:26 +01:00
input Make command block implementation generic 2018-06-02 08:07:44 -04:00
tree Fix potential crash when destroying workspace 2018-06-03 10:28:24 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Address first round of review for generic blocks 2018-06-02 08:07:44 -04:00
config.c sway/config: fix use-after-free for end of block 2018-06-03 00:31:51 +09:00
criteria.c Replace is_floating boolean with function 2018-06-01 23:14:58 +10:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Use L_FLOATING instead of reapable boolean 2018-06-01 23:14:58 +10:00
ipc-server.c Make command block implementation generic 2018-06-02 08:07:44 -04:00
main.c sway: run commands without waiting for Xwayland 2018-05-16 16:50:56 +09:00
meson.build Implement floating 2018-06-01 23:14:58 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Update for swaywm/wlroots#1000 2018-05-25 13:55:47 +01: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