summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-18 08:57:34 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-18 08:57:34 +0100
commitbb01e5a16f430e8b4629bab426bacfdff87f1198 (patch)
tree01e0404fa23c8e2c639f794995b9a9d55aed6ff7
parentfix of XGetTransientForHint in manage() (diff)
downloaddwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.tar.gz
dwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.zip
initialize trans with 0
Diffstat (limited to '')
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 8591a7d..1987601 100644
--- a/dwm.c
+++ b/dwm.c
@@ -865,7 +865,7 @@ killclient(const Arg *arg) {
865void 865void
866manage(Window w, XWindowAttributes *wa) { 866manage(Window w, XWindowAttributes *wa) {
867 Client *c, *t = NULL; 867 Client *c, *t = NULL;
868 Window trans; 868 Window trans = 0;
869 XWindowChanges wc; 869 XWindowChanges wc;
870 870
871 if(!(c = calloc(1, sizeof(Client)))) 871 if(!(c = calloc(1, sizeof(Client))))