From 188811f80861caacd016b857b0d07f6d2d62d15a Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 18 Jan 2024 10:04:51 -0500 Subject: scene_graph: Port layer_shell --- sway/input/cursor.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway/input') 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; } -- cgit v1.2.3