From e40e7de0d92b93f1fab7478563b415bf40aae610 Mon Sep 17 00:00:00 2001 From: vurtun Date: Wed, 13 Jan 2016 19:33:32 +0100 Subject: [PATCH] fixed border of minimized windows --- zahnrad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/zahnrad.c b/zahnrad.c index 1a81bfc..2a4a949 100644 --- a/zahnrad.c +++ b/zahnrad.c @@ -7333,7 +7333,6 @@ zr_layout_begin(struct zr_context *ctx, const char *title) if (layout->flags & ZR_WINDOW_MINIMIZED) { /* draw window background if minimized */ - layout->header_h = 0; layout->row.height = 0; zr_draw_rect(out, zr_rect(layout->bounds.x, layout->bounds.y, layout->bounds.w, layout->row.height), 0, c->colors[ZR_COLOR_WINDOW]);