aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 79f6ec46..d6fdc1da 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -109,6 +109,9 @@ static struct sway_container *container_at_coords(
}
struct sway_container *c;
+ if ((c = floating_container_at(lx, ly, surface, sx, sy))) {
+ return c;
+ }
if ((c = container_at(ws, lx, ly, surface, sx, sy))) {
return c;
}