input/cursor: fix selection of all contaners when clicking in popup-menu and on the lockscreen

This commit is contained in:
kvark 2025-08-17 13:46:16 +07:00
parent b3dcde8d69
commit 7d9dcfb262

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;
}