From df5a8c5b32733ae5e2d872b1c7baa4311a9d2308 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 15 May 2021 22:36:21 +0200 Subject: Strange fixes I have no ideas halp --- apps/wm/wm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps') diff --git a/apps/wm/wm.c b/apps/wm/wm.c index 2bbabf5..6aed58e 100644 --- a/apps/wm/wm.c +++ b/apps/wm/wm.c @@ -216,6 +216,8 @@ static void rectangle_redraw(vec2 pos1, vec2 pos2) static struct window *window_new(struct client client, struct vec2 pos, struct vec2 size, u32 flags) { + assert(windows); + struct window *win = malloc(sizeof(*win)); static u32 id = 0; win->id = id++; -- cgit v1.2.3