mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-05 04:06:28 -05:00
opt: not search disable node in xytonode
This commit is contained in:
parent
14f15ec997
commit
526a09c480
1 changed files with 3 additions and 0 deletions
|
|
@ -93,6 +93,9 @@ void xytonode(double x, double y, struct wlr_surface **psurface, Client **pc,
|
|||
if (!(node = wlr_scene_node_at(&layers[layer]->node, x, y, nx, ny)))
|
||||
continue;
|
||||
|
||||
if (!node->enabled)
|
||||
continue;
|
||||
|
||||
if (node->type == WLR_SCENE_NODE_BUFFER)
|
||||
surface = wlr_scene_surface_try_from_buffer(
|
||||
wlr_scene_buffer_from_node(node))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue