diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2024-01-18 10:02:41 -0500 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2024-01-18 18:36:54 +0300 |
commit | 6e5fc4c2aafd211323c6037aa868c075852bfe15 (patch) | |
tree | bff87217414fa981d48244c5bc1b253817646783 /sway/input/cursor.c | |
parent | scene_graph: Port xdg_shell (diff) | |
download | sway-6e5fc4c2aafd211323c6037aa868c075852bfe15.tar.gz sway-6e5fc4c2aafd211323c6037aa868c075852bfe15.tar.zst sway-6e5fc4c2aafd211323c6037aa868c075852bfe15.zip |
scene_graph: Port xwayland
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 6 |
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( | |||
107 | return NULL; | 107 | return NULL; |
108 | } | 108 | } |
109 | 109 | ||
110 | #if HAVE_XWAYLAND | ||
111 | if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_XWAYLAND_UNMANAGED)) { | ||
112 | return NULL; | ||
113 | } | ||
114 | #endif | ||
115 | |||
110 | if (!current->parent) { | 116 | if (!current->parent) { |
111 | break; | 117 | break; |
112 | } | 118 | } |