1
1
mirror of https://github.com/swaywm/sway synced 2024-09-30 13:11:29 +02:00
sway/include
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
..
sway Refactor seat_get_focus functions 2018-08-17 17:32:53 +10:00
swaybar swaybar: Fix scroll handling on workspace buttons 2018-07-19 21:15:01 +02:00
swaylock
swaynag swaynag: address some more of sircmpwn's comments 2018-08-01 22:47:54 -04:00
background-image.h
cairo.h
ipc-client.h
ipc.h ipc: remove extraneous values 2018-08-01 16:57:15 +01:00
list.h Use list_find in more places and refactor/fix workspace prev_next functions 2018-08-15 15:14:35 +10:00
log.h
meson.build
pango.h
pool-buffer.h
readline.h
stringop.h
unicode.h
util.h util.h: add missing include 2018-07-30 15:21:52 +01:00