This commit is contained in:
kkvark 2025-10-07 17:37:50 +01:00 committed by GitHub
commit 7707ac9cf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -102,6 +102,10 @@ struct sway_node *node_at_coords(
return NULL;
}
if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_POPUP)) {
return NULL;
}
#if WLR_HAS_XWAYLAND
if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_XWAYLAND_UNMANAGED)) {
return NULL;
@ -134,6 +138,10 @@ struct sway_node *node_at_coords(
return NULL;
}
if (server.session_lock.lock) {
return NULL;
}
return &ws->node;
}