diff options
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 6751931d..96bf574c 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -108,6 +108,9 @@ static struct sway_container *container_at_coords( | |||
108 | } | 108 | } |
109 | 109 | ||
110 | struct sway_container *c; | 110 | struct sway_container *c; |
111 | if ((c = floating_container_at(x, y, surface, sx, sy))) { | ||
112 | return c; | ||
113 | } | ||
111 | if ((c = container_at(ws, ox, oy, surface, sx, sy))) { | 114 | if ((c = container_at(ws, ox, oy, surface, sx, sy))) { |
112 | return c; | 115 | return c; |
113 | } | 116 | } |