summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@proton.me>2023-02-05 10:03:09 -0600
committerLeonardo Hernández Hernández <leohdz172@proton.me>2023-02-05 10:03:09 -0600
commitfbe89a929f8465a288630ebe27bd656cd9ce8282 (patch)
treea7b0518dc79251ca001f11911d8f9d854ca331a8
parente7f736ccc9435138d9921ba1f3ba5ebed142523b (diff)
chase wlroots!4000
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4000
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 360708f..42086af 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2582,7 +2582,7 @@ xytonode(double x, double y, struct wlr_surface **psurface,
for (layer = focus_order; layer < END(focus_order); layer++) {
if ((node = wlr_scene_node_at(&layers[*layer]->node, x, y, nx, ny))) {
if (node->type == WLR_SCENE_NODE_BUFFER)
- surface = wlr_scene_surface_from_buffer(
+ surface = wlr_scene_surface_try_from_buffer(
wlr_scene_buffer_from_node(node))->surface;
/* Walk the tree to find a node that knows the client */
for (pnode = node; pnode && !c; pnode = &pnode->parent->node)