swayfx/sway/input
Ryan Dwyer 48bc15e758 Make seat_get_active_child ignore floating children
seat_get_active_child is used to get the active tiling child in a few
places, such as outputs getting their active workspace and
tabbed/stacked containers getting their visible child. When a workspace
uses a tabbed or stacked layout and contains a focused floating view,
calling seat_get_active_child on the workspace would incorrectly return
the floating view. This changes it so it will return the tiling child.

This fixes the following bug:

* Create layout T[view view] then float one of the views
* Attempt to click the tiling view to give it focus - it wouldn't work
because seat_get_active_child would return the floating view
2018-09-16 21:57:19 +10:00
..
cursor.c Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
input-manager.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
keyboard.c Fix management of bindings during reload 2018-09-06 08:33:00 +10:00
seat.c Make seat_get_active_child ignore floating children 2018-09-16 21:57:19 +10:00