]> git.sur5r.net Git - i3/i3/commit
Window decoration scrolling: don't focus sibling
authorOrestis Floros <orestisf1993@gmail.com>
Sat, 31 Mar 2018 23:02:50 +0000 (02:02 +0300)
committerOrestis Floros <orestisf1993@gmail.com>
Sun, 1 Apr 2018 09:18:27 +0000 (12:18 +0300)
commitfbce834b20052952d48fea1299343797beab5ae1
treeff96eadd94656fc9b6f827d7da61e4415e2ab834
parent666aa9e0dd1d36b4b8792b641e90a1dbc089f83e
Window decoration scrolling: don't focus sibling

The current behaviour is buggy in the following layout:
T [ A* V [ B C ] ], where the focus stack in V is B > C.
When the user scrolls down, focus correctly moves to B but if the user
scrolls down again the whole vertical container is focused.

This happens because 'bool scroll_next_possible' is false but
con_activate is called on the tabbed container's sibling - the vertical
container.
src/click.c
testcases/t/297-scroll-tabbed.t [new file with mode: 0644]