diff options
author | okan <okan> | 2016-09-14 21:00:24 +0000 |
---|---|---|
committer | okan <okan> | 2016-09-14 21:00:24 +0000 |
commit | 2bbe111cc0e2ddd8b684e22dab337086c39ac46a (patch) | |
tree | a55f4c5ec40975ab3254313a5c6f242994137ee5 | |
parent | b8933ebccaba603c47d15026ed22a2afabbd9d67 (diff) | |
download | cwm-2bbe111cc0e2ddd8b684e22dab337086c39ac46a.tar.gz cwm-2bbe111cc0e2ddd8b684e22dab337086c39ac46a.tar.xz cwm-2bbe111cc0e2ddd8b684e22dab337086c39ac46a.zip |
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@
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |