From: Johan Malm Date: Wed, 19 Aug 2020 20:06:27 +0000 (+0100) Subject: deco: add missing return type X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=814ea5cb11da4834bf1d4911d573b5710a4ba122;p=proto%2Flabwc.git deco: add missing return type --- 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: