swayfx/include/sway/tree
Brian Ashworth dd28e6a6d6 Fix xwayland configure request scratchpad crash
This fixes a crash in `container_init_floating` when a xwayland view
sends a configure request while in the scratchpad.

`container_init_floating` gets called so the configured minimum and
maximum sizes gets respected when resizing to the requested size. Since
the workspace was NULL, it would SIGSEGV when attempting to get the
workspace's output for the output box retrieval.

This extracts the resizing portion of `container_init_floating` into a
separate function. If the container is in the scratchpad, it will just
be resized and skip the centering.

Additionally, `container_init_floating` has been renamed to
`container_floating_resize_and_center` to more accurately describe what
it does.
2019-03-31 09:32:23 +03:00
..
arrange.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
container.h Fix xwayland configure request scratchpad crash 2019-03-31 09:32:23 +03:00
node.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
root.h Allow for workspace renaming during exec handling 2019-03-23 17:49:27 -04:00
view.h sway_view_child: add listener for view unmap 2019-03-11 10:02:52 +01:00
workspace.h Add workspace {prev,next}_on_output --create 2019-02-17 11:50:07 -05:00