From 814ea5cb11da4834bf1d4911d573b5710a4ba122 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Wed, 19 Aug 2020 21:06:27 +0100 Subject: [PATCH] deco: add missing return type --- src/deco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deco.c b/src/deco.c index c89c11f8..6ad7b82e 100644 --- a/src/deco.c +++ b/src/deco.c @@ -38,7 +38,7 @@ struct wlr_box deco_box(struct view *view, enum deco_part deco_part) if ((view->surface->current.width < 1) || (view->surface->current.height < 1)) { warn("view (%p) has no width/height", view); - return; + return box; } switch (deco_part) { case LAB_DECO_BUTTON_CLOSE: