initialize trans with 0
This commit is contained in:
parent
06f7eed103
commit
bb01e5a16f
2
dwm.c
2
dwm.c
|
@ -865,7 +865,7 @@ killclient(const Arg *arg) {
|
||||||
void
|
void
|
||||||
manage(Window w, XWindowAttributes *wa) {
|
manage(Window w, XWindowAttributes *wa) {
|
||||||
Client *c, *t = NULL;
|
Client *c, *t = NULL;
|
||||||
Window trans;
|
Window trans = 0;
|
||||||
XWindowChanges wc;
|
XWindowChanges wc;
|
||||||
|
|
||||||
if(!(c = calloc(1, sizeof(Client))))
|
if(!(c = calloc(1, sizeof(Client))))
|
||||||
|
|
Loading…
Reference in New Issue