sway-patched-tray-menu-github/sway/tree
Ryan Dwyer 854c5fbec8 Fix crash when fullscreen view closes on inactive workspace
When a view unmaps, normally the surviving ancestor (ie. after reaping)
needs to be arranged. When a fullscreen view unmaps, it arranges the
workspace rather than the surviving ancestor, but didn't handle cases
where the workspace itself was reaped. This happens if the workspace is
not currently shown and the fullscreen view was the last container on
that workspace.

This commit rewrites this part of view_unmap so it's more readable, and
fixes the crash by not arranging the workspace if it's been reaped. Note
that it no longer arranges the output under any circumstance - this
wasn't required anyway.
2018-08-03 17:55:58 +10:00
..
arrange.c Allow containers to be fullscreen 2018-07-26 08:27:07 +10:00
container.c Fix pointer events for fullscreen views 2018-08-02 22:48:43 +01:00
layout.c ipc: prevent emitting a workspace::focus event when moving a container to a different workspace or output 2018-08-01 16:57:15 +01:00
output.c ipc: fix workspace::move calls argument order 2018-08-01 16:57:15 +01:00
view.c Fix crash when fullscreen view closes on inactive workspace 2018-08-03 17:55:58 +10:00
workspace.c Preserve workspace name 2018-07-28 00:18:52 +00:00