swayfx/sway/tree
Ryan Dwyer dd8d2dedf7 Fix crash when scratchpad contains split containers
To reproduce:

* Launch two terminals in a workspace
* `focus parent` to select both terminals
* `move scratchpad`
* `scratchpad show` to show the terminals
* `scratchpad show` to hide the terminals
* `scratchpad show` - crash

When hiding the terminals, it should be moving focus to whatever is in
the workspace, but this wasn't happening because the focus check didn't
consider split containers. So the terminals were hidden in the
scratchpad while still having focus. This confused the next invocation
of scratchpad show, causing it to attempt to hide them instead of show
them, and the hide-related code caused a crash when it tried to arrange
the workspace which was NULL.

This patch corrects the focus check.
2018-12-29 14:45:42 +10:00
..
arrange.c Fix crash when view maps while locked 2018-10-13 19:15:04 +10:00
container.c Fix wlr_box_intersection args for wlroots 1441 2018-12-22 18:54:08 +01:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c Terminate swaybg in output_disable 2018-12-19 09:24:15 +01:00
root.c Fix crash when scratchpad contains split containers 2018-12-29 14:45:42 +10:00
view.c Combine output_by_name and output_by_identifier 2018-12-20 19:55:29 +01:00
workspace.c Combine output_by_name and output_by_identifier 2018-12-20 19:55:29 +01:00