sway/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.c Make mod+resize a floating container resize the container itself 2018-08-12 10:45:54 +10:00
input-manager.c Add virtual keyboard protocol 2018-07-28 20:47:56 -04:00
keyboard.c Bindings use advised keyboard repeat parameters 2018-07-29 19:15:10 -04:00
seat.c Refactor seat_get_focus functions 2018-08-17 17:32:53 +10:00