aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2020-01-05 15:02:22 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2020-01-05 22:16:44 +0100
commitb977c02e354bd5b0282796a4b770f5a7888e81be (patch)
treee614e5b589f87dcb6a38a78328ff177f58b3dc19 /sway/input/cursor.c
parentswaybar: Fix input device removal (diff)
downloadsway-b977c02e354bd5b0282796a4b770f5a7888e81be.tar.gz
sway-b977c02e354bd5b0282796a4b770f5a7888e81be.tar.zst
sway-b977c02e354bd5b0282796a4b770f5a7888e81be.zip
render: do not render indicator on floating views
This adds a check to make it so the indicator is only rendered on views with a parent, which floating views do not. Since floating views do not have a parent, the workspace layout was being incorrectly used to determine whether to show the split indicator previously. This has no impact on floating containers and a view within a floating container will still have indicators rendered appropriately.
Diffstat (limited to 'sway/input/cursor.c')
0 files changed, 0 insertions, 0 deletions