diff options
author | 2018-10-24 23:51:11 +1000 | |
---|---|---|
committer | 2018-10-24 23:59:09 +1000 | |
commit | 641fbe576e10064b253671acd0360b500232a235 (patch) | |
tree | 5af9de3fba378c4f098de7438c659227f454d46d /swaybar/bar.c | |
parent | Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map (diff) | |
download | sway-641fbe576e10064b253671acd0360b500232a235.tar.gz sway-641fbe576e10064b253671acd0360b500232a235.tar.zst sway-641fbe576e10064b253671acd0360b500232a235.zip |
When scrolling on a tab titlebar, set focus_inactive if not focused
For example, create layout H[view T[view view view]], focus the view in
the hsplit and scroll the mouse wheel over the tab title bars. Prior to
this patch, focus would be given to a descendant of the tabbed
container. This patch keeps the focus on the hsplit view.
This also renames some of the variables used in this part of the code to
make it be easier to follow.
Diffstat (limited to 'swaybar/bar.c')
0 files changed, 0 insertions, 0 deletions