swayfx/sway/tree
Ryan Dwyer 84cd22c8cb Fix crash when a deferred command destroys a workspace
Example config that produces the crash (with a single output):

    workspace 1
    workspace 2

Prior to this commit, container_workspace_free would manually mark the
L_FLOATING container as destroying and free it. This assumed the
L_FLOATING container would never be involved in a transaction. This was
a safe assumption when it was implemented, but became an incorrect
assumption once parent/child relationships became transactionised.

This commit removes the L_FLOATING free from container_workspace_free.
When the workspace is destroyed, it starts the normal destroy process on
the L_FLOATING container so it can be freed via transactions.
2018-07-28 22:41:24 +10:00
..
arrange.c Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
container.c Fix crash when a deferred command destroys a workspace 2018-07-28 22:41:24 +10:00
layout.c Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
output.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
view.c Fix assign to workspace 2018-07-27 09:21:55 +10:00
workspace.c Preserve workspace name 2018-07-28 00:18:52 +00:00