diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-03 22:31:54 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-03 22:31:54 +1000 |
commit | 57e78414fa24763d09a55e47fed221794ffc7524 (patch) | |
tree | fc66c7aeca74585ebd94463edd0142e6652b7db0 /include | |
parent | ebe0b668c9749dcd857f2b6b248b3f6cb3322b8f (diff) |
Fix seat_get_active_child
seat_get_active_child is used for tabbed and stacked containers to get
the active child. The previous implementation used seat_get_focus_inactive
then ascended the tree to the child of the tabbed/stacked container, but
this fails when the workspace itself is stacked or tabbed and the most
recently active child is floating.
The new implementation takes a more simple approach, where it directly
scans the focus stack for the first immediate child which isn't the
floating container.
Fixes #2098.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions