swayfx/sway/tree
Ryan Dwyer 635ae9557c Second attempt at restoring focus when closing a fullscreen view
To reproduce the problem this is fixing, create H[view view view],
fullscreen one of the views and close it. The entire workspace will be
given focus rather than one of the siblings.

This happens because we emit the destroy event, so the seat code tries
to find a new focus, but the view it finds is still believed to be
hidden by the fullscreen view so it's discarded and the workspace is
used instead.

This clears the workspace's fullscreen pointer prior to emitting the
destroy event so that the seat code finds an appropriate new focus.
2018-09-06 22:34:09 +10:00
..
arrange.c Adjust container box 2018-09-06 09:13:36 +10:00
container.c Second attempt at restoring focus when closing a fullscreen view 2018-09-06 22:34:09 +10:00
node.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
output.c Introduce seat_set_focus_container and seat_set_focus_workspace 2018-09-06 19:26:56 +10:00
root.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
view.c Introduce seat_set_focus_container and seat_set_focus_workspace 2018-09-06 19:26:56 +10:00
workspace.c Introduce seat_set_focus_container and seat_set_focus_workspace 2018-09-06 19:26:56 +10:00