From 2bbe111cc0e2ddd8b684e22dab337086c39ac46a Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 14 Sep 2016 21:00:24 +0000 Subject: [PATCH] Some clients fail to setup hints at all, so initalize for them; fallout from r1.218 switching to malloc - clearly missed this case. found the hard way by brynet@ --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index b730c78..5c2148b 100644 --- a/client.c +++ b/client.c @@ -78,6 +78,7 @@ client_init(Window win, struct screen_ctx *sc) cc->flags = 0; cc->stackingorder = 0; memset(&cc->hint, 0, sizeof(cc->hint)); + memset(&cc->ch, 0, sizeof(cc->ch)); cc->ptr.x = -1; cc->ptr.y = -1;