summaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.h b/client.h
index efb3e0d..9a9f0e0 100644
--- a/client.h
+++ b/client.h
@@ -39,7 +39,7 @@ toplevel_from_wlr_surface(struct wlr_surface *s, Client **pc, LayerSurface **pl)
#endif
if (!s)
- return type;
+ return -1;
root_surface = wlr_surface_get_root_surface(s);
#ifdef XWAYLAND