diff options
Diffstat (limited to 'apps/wm/wm.c')
-rw-r--r-- | apps/wm/wm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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++; |