swayfx/include/sway/tree
Rouven Czerwinski ddad41f423 Fix sway crashes for scratchpad layouts
Currently container_replace removes the container from the scratchpad
and re-adds it afterwards. For the split commands this results in the
container being send to the scratchpad, which results in a NULL segfault
if the same container should be shown.
Pass an optional workspace to root_scratchpad_add_container, if the
workspace is passed the window will continue to show on the workspace.
If NULL is passed it is sent to the scratchpad.
This was an issue if no other window except the scratchpad container was
on the workspace.

Fixes #4240
2019-06-16 12:29:16 -04:00
..
arrange.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
container.h scratchpad: set initial size 2019-03-31 17:49:05 -06:00
node.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
root.h Fix sway crashes for scratchpad layouts 2019-06-16 12:29:16 -04:00
view.h Use parent get_root_coords in subsurfaces 2019-05-30 14:25:07 -04:00
workspace.h Add workspace {prev,next}_on_output --create 2019-02-17 11:50:07 -05:00