aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input')
-rw-r--r--sway/input/cursor.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 79373e40..30df76f4 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -94,6 +94,12 @@ struct sway_node *node_at_coords(
}
}
+ if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_LAYER_SHELL)) {
+ // We don't want to feed through the current workspace on
+ // layer shells
+ return NULL;
+ }
+
if (!current->parent) {
break;
}