swayfx/sway
Ryan Dwyer 4e4898e90f Fix race condition crash when view unmaps + maps quickly
When a view unmaps, we start a transaction to destroy the container,
then when the transaction completes we destroy the container and unset
the view's container pointer. But if the view has remapped in the
meantime, the view's container pointer will be pointing to a different
container which should not be cleared.

This adds a check to make sure the view is still pointing to the
container being destroyed before clearing the pointer. The freeing of
the title format is also removed as it is already freed when the view
destroys in view_destroy.
2018-09-26 21:33:54 +10:00
..
commands Implement support for input wildcard 2018-09-23 19:56:52 -04:00
config Implement support for input wildcard 2018-09-23 19:56:52 -04:00
desktop Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
input Add a missing null check for moving tiling containers 2018-09-25 22:19:46 +02:00
tree Fix race condition crash when view unmaps + maps quickly 2018-09-26 21:33:54 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement support for input wildcard 2018-09-23 19:56:52 -04:00
config.c Introduce tiling_drag directive 2018-09-11 17:17:19 +10:00
criteria.c Fix inversed condition in criteria 2018-09-05 18:01:43 +10:00
debug-tree.c Align titles to baseline 2018-09-08 16:25:07 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c ipc: add pid information for views in layout tree 2018-09-19 22:21:09 +01:00
ipc-server.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
main.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
meson.build Introduce create_output command (for developer use) 2018-09-19 21:54:27 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Merge branch 'master' into wlroots-1243 2018-09-14 21:03:59 -04:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00