aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2024-01-18 10:04:51 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit188811f80861caacd016b857b0d07f6d2d62d15a (patch)
treedc68ea00b707b25ce398c71fe1ad996f0eb820ea /sway/input
parent5b8b505af5d5925ae9e617ee8f3c7a0f9c43409d (diff)
downloadsway-188811f80861caacd016b857b0d07f6d2d62d15a.tar.xz
scene_graph: Port layer_shell
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;
}