mirror of
https://github.com/NickHu/sway
synced 2024-12-28 22:23:30 +01:00
908095ef9a
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. |
||
---|---|---|
.. | ||
cursor.c | ||
input-manager.c | ||
keyboard.c | ||
seat.c |