sway-patched-tray-menu-github/sway/tree
Ryan Dwyer 908095ef9a Introduce seat_set_focus_container and seat_set_focus_workspace
These are the same as seat_set_focus, but accept a specific type rather
than using nodes. Doing this adds more typesafety and lets us avoid
using &con->node which looks a little ugly.

This fixes a crash that pretty much nobody would ever come across. If
you have a bindsym for "focus" with no arguments and run it from an
empty workspace, sway would crash because it assumes `container` is not
NULL.
2018-09-06 19:26:56 +10:00
..
arrange.c Adjust container box 2018-09-06 09:13:36 +10:00
container.c Introduce seat_set_focus_container and seat_set_focus_workspace 2018-09-06 19:26:56 +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