aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar/render.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-02-24 21:11:55 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-03-01 16:14:10 +0100
commitd358aab8d9dd6121533326423759394ca804a05a (patch)
tree96c64c5bea9273f94f8a1f19e98540eeefc56f92 /swaybar/render.c
parentrender: Clip surfaces to container bounds (diff)
downloadsway-d358aab8d9dd6121533326423759394ca804a05a.tar.gz
sway-d358aab8d9dd6121533326423759394ca804a05a.tar.zst
sway-d358aab8d9dd6121533326423759394ca804a05a.zip
container: Limit tiled focus to container geometry
container_at would maintain the current focus as long as a position was over one of the container view's surfaces. If an oversized surface was being clipped, this lead to weird focus behavior. Instead, use view_container_at for this test, which intersects the container box before looking at surfaces.
Diffstat (limited to 'swaybar/render.c')
0 files changed, 0 insertions, 0 deletions