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:
@@ -819,7 +819,7 @@ client_manage(Window w, XWindowAttributes *wa, Bool ar)
|
|||||||
|
|
||||||
screen_get_sel();
|
screen_get_sel();
|
||||||
|
|
||||||
c = zmalloc(sizeof(Client));
|
c = zcalloc(sizeof(Client));
|
||||||
c->win = w;
|
c->win = w;
|
||||||
c->screen = selscreen;
|
c->screen = selscreen;
|
||||||
c->flags = 0;
|
c->flags = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user