aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-03-03 16:17:45 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-03-10 17:50:57 +0100
commit2e06403548fa5e940e01b810e538fd46d61c89c7 (patch)
tree72a0997b3e443a894ed91d247b26ee1bec9c3bed /sway/desktop/xwayland.c
parentswaybar: use text subpixel antialias only where it would look good (diff)
downloadsway-2e06403548fa5e940e01b810e538fd46d61c89c7.tar.gz
sway-2e06403548fa5e940e01b810e538fd46d61c89c7.tar.zst
sway-2e06403548fa5e940e01b810e538fd46d61c89c7.zip
container: Add view_container_content_at
container_at checks if the position provided matches the currently focused container with view_container_at as a fast path. view_container_at checks using the main container geometry, which includes the titlebar and border area. If a tabbed container is focused, then positions over unfocused tabs are incorrectly reported as belonging to the focused container, breaking focus on click. Add view_container_content_at for use in the focused container fast path which only tests container content area, and fall back to full workspace scans for border and titlebar areas. Closes: https://github.com/swaywm/sway/issues/6074
Diffstat (limited to 'sway/desktop/xwayland.c')
0 files changed, 0 insertions, 0 deletions