diff options
author | Thomas Gardner <tmg@fastmail.com> | 2016-11-25 22:38:09 +1000 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-11-25 14:21:40 +0100 |
commit | e90b88e12a88d6214c00d5ee58ceb69446aa5ac4 (patch) | |
tree | f3184ddf1a3689a5961d3c15c270a86688d85330 /dmenu.c | |
parent | a280bdad1f16943a70eaff086852d3b11043b060 (diff) |
Xinerama: correct variable declarations in preprocessor conditional
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -539,15 +539,16 @@ run(void) static void setup(void) { - int x, y; + int x, y, i = 0; + unsigned int du; XSetWindowAttributes swa; XIM xim; + Window w, dw, *dws; + XWindowAttributes wa; #ifdef XINERAMA XineramaScreenInfo *info; - Window w, pw, dw, *dws; - XWindowAttributes wa; - int a, j, di, n, i = 0, area = 0; - unsigned int du; + Window pw; + int a, j, di, n, area = 0; #endif /* init appearance */ |