aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 5fa27db2..70dafec4 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -400,7 +400,8 @@ static bool view_at(struct roots_view *view, double lx, double ly,
if (view_get_deco_part(view, view_sx, view_sy)) {
*sx = view_sx;
*sy = view_sy;
- return view;
+ *surface = NULL;
+ return true;
}
if (wlr_box_contains_point(&box, view_sx, view_sy) &&