aboutsummaryrefslogtreecommitdiff
path: root/sway/input
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2024-01-18 10:02:41 -0500
committerKirill Primak <vyivel@eclair.cafe>2024-01-18 18:36:54 +0300
commit6e5fc4c2aafd211323c6037aa868c075852bfe15 (patch)
treebff87217414fa981d48244c5bc1b253817646783 /sway/input
parentb38ed8b4792928dca3e1580e8160792ea41e25c4 (diff)
downloadsway-6e5fc4c2aafd211323c6037aa868c075852bfe15.tar.xz
scene_graph: Port xwayland
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 fd8f50d4..404c1eed 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -107,6 +107,12 @@ struct sway_node *node_at_coords(
return NULL;
}
+#if HAVE_XWAYLAND
+ if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_XWAYLAND_UNMANAGED)) {
+ return NULL;
+ }
+#endif
+
if (!current->parent) {
break;
}