sway/sway
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
..
commands Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
config Implement setting NumLock and CapsLock status 2018-07-25 17:24:45 +02:00
desktop Second attempt at fixing transaction use-after-free 2018-07-28 17:43:18 +10:00
input Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
tree Fix crash when a deferred command destroys a workspace 2018-07-28 22:41:24 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement scratchpad 2018-07-23 08:24:32 +10:00
config.c Implement floating_modifier <mod> [inverse|normal] 2018-07-24 18:41:08 -04:00
criteria.c more style fixes, reorder config.h include 2018-07-25 13:43:21 +02:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Mark containers as urgent in IPC if they have urgent views 2018-07-16 14:30:31 +10:00
ipc-server.c Make focus part of transactions 2018-07-15 22:08:26 +10:00
main.c Fix deferred command handling 2018-07-19 01:39:58 -04:00
meson.build Add xkb_numlock/xkb_capslock commands (#2311) 2018-07-25 17:24:45 +02:00
scratchpad.c Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c reverted includes of "sway/config.h" and replaced with "config.h" from meson build 2018-07-25 13:32:20 +02:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Restrict CapsLock and NumLock commands to the configuration file 2018-07-25 17:24:45 +02:00
sway.1.scd Add sway(5) 2018-05-11 21:03:43 -04:00
sway.5.scd Add documentation for urgent command 2018-07-16 10:15:18 +10:00