aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <[email protected]>2008-08-18 08:57:34 +0100
committerAnselm R Garbe <[email protected]>2008-08-18 08:57:34 +0100
commitbb01e5a16f430e8b4629bab426bacfdff87f1198 (patch)
tree01e0404fa23c8e2c639f794995b9a9d55aed6ff7
parentfix of XGetTransientForHint in manage() (diff)
downloadseiwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.tar.xz
seiwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.zip
initialize trans with 0
-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) {
void
manage(Window w, XWindowAttributes *wa) {
Client *c, *t = NULL;
- Window trans;
+ Window trans = 0;
XWindowChanges wc;
if(!(c = calloc(1, sizeof(Client))))