Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c57f45c
)
fix a real issue of an uninitialized variable, found by clang and we are now clang...
author
Marco Peereboom
<marco@conformal.com>
Fri, 17 Feb 2012 16:57:29 +0000
(10:57 -0600)
committer
Marco Peereboom
<marco@conformal.com>
Fri, 17 Feb 2012 16:57:29 +0000
(10:57 -0600)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
a0ad550
..
b527e91
100644
(file)
--- a/
spectrwm.c
+++ b/
spectrwm.c
@@
-5755,7
+5755,7
@@
manage_window(Window id)
Atom *prot = NULL, *pp;
unsigned char ws_idx_str[SWM_PROPLEN], *prop = NULL;
struct swm_region *r;
- long mask;
+ long mask = 0;
const char *errstr;
XWindowChanges wc;
struct pid_e *p;
@@
-5942,7
+5942,7
@@
manage_window(Window id)
if (border_me) {
bzero(&wc, sizeof wc);
wc.border_width = border_width;
- mask = CWBorderWidth;
+ mask |= CWBorderWidth;
XConfigureWindow(display, win->id, mask, &wc);
}