mirror of
https://github.com/swaywm/sway.git
synced 2026-03-21 05:33:56 -04:00
input/cursor: fix selection of all contaners when clicking in popup-menu and on the lockscreen
This commit is contained in:
parent
b3dcde8d69
commit
7d9dcfb262
1 changed files with 8 additions and 0 deletions
|
|
@ -102,6 +102,10 @@ struct sway_node *node_at_coords(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_POPUP)) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
#if WLR_HAS_XWAYLAND
|
#if WLR_HAS_XWAYLAND
|
||||||
if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_XWAYLAND_UNMANAGED)) {
|
if (scene_descriptor_try_get(current, SWAY_SCENE_DESC_XWAYLAND_UNMANAGED)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
@ -134,6 +138,10 @@ struct sway_node *node_at_coords(
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (server.session_lock.lock) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
return &ws->node;
|
return &ws->node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue