Client: Fill new client with 0. fixes #116
Submitted-by: e-t172 <e-t172 _at_ akegroup.org> Signed-off-by: Philippe Pepiot <phil@philpep.org>
This commit is contained in:
parent
12aa86e914
commit
664e4effdb
@ -819,7 +819,7 @@ client_manage(Window w, XWindowAttributes *wa, Bool ar)
|
||||
|
||||
screen_get_sel();
|
||||
|
||||
c = zmalloc(sizeof(Client));
|
||||
c = zcalloc(sizeof(Client));
|
||||
c->win = w;
|
||||
c->screen = selscreen;
|
||||
c->flags = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user