diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 08:57:34 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-08-18 08:57:34 +0100 |
| commit | bb01e5a16f430e8b4629bab426bacfdff87f1198 (patch) | |
| tree | 01e0404fa23c8e2c639f794995b9a9d55aed6ff7 /dwm.c | |
| parent | fix of XGetTransientForHint in manage() (diff) | |
| download | dwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.tar.gz dwm-bb01e5a16f430e8b4629bab426bacfdff87f1198.zip | |
initialize trans with 0
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -865,7 +865,7 @@ killclient(const Arg *arg) { | |||
| 865 | void | 865 | void |
| 866 | manage(Window w, XWindowAttributes *wa) { | 866 | manage(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)))) |
