swayfx/include/sway/input
Ryan Dwyer 3a888163a0 Refactor seat_get_focus functions
Fixes #2467.

This commit introduces seat_get_focus_inactive_floating to supplement
seat_get_focus_inactive_tiling, and uses it during `focus mode_toggle`
which fixes a focus bug.

This also refactors the seat_get_focus_inactive functions so that they
do their selection logic themselves rather than offloading it to
seat_get_focus_by_type which was getting bloated. seat_get_focus_by_type
is now removed.

Lastly, this commit changes seat_get_focus to just return the first
container in the focus stack rather than looping and calling
seat_get_focus_by_type.
2018-08-17 17:32:53 +10:00
..
cursor.h Invoke mouse bindings 2018-07-23 21:38:29 -04:00
input-manager.h Add virtual keyboard protocol 2018-07-28 20:47:56 -04:00
keyboard.h Bindings use advised keyboard repeat parameters 2018-07-29 19:15:10 -04:00
seat.h Refactor seat_get_focus functions 2018-08-17 17:32:53 +10:00