swayfx/sway
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
..
commands Merge pull request #2404 from RyanDwyer/move-containers-when-workspace-focused 2018-08-02 08:11:23 -04:00
config Reset signal mask after fork 2018-08-02 21:31:34 +10:00
desktop Convert toplevel coordinates to output-local 2018-08-02 23:36:36 +10:00
input Fix pointer events for fullscreen views 2018-08-02 22:48:43 +01:00
tree Fix crash when fullscreen view closes on inactive workspace 2018-08-03 17:55:58 +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 ipc: add window::mark event 2018-08-01 16:57:15 +01:00
ipc-server.c ipc: remove extraneous values 2018-08-01 16:57:15 +01:00
main.c ipc: add shutdown event 2018-08-01 16:57:14 +01:00
meson.build Link xcb dependency to meson options "enable_xwayland" (#2393) 2018-08-02 08:36:47 +01:00
scratchpad.c Focus child when showing a scratchpad container 2018-07-28 22:41:04 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Merge branch 'master' into wlr-gamma-control 2018-08-02 23:49:25 +01: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 Add documentation for urgent command 2018-07-16 10:15:18 +10:00