From e90b88e12a88d6214c00d5ee58ceb69446aa5ac4 Mon Sep 17 00:00:00 2001 From: Thomas Gardner Date: Fri, 25 Nov 2016 22:38:09 +1000 Subject: Xinerama: correct variable declarations in preprocessor conditional --- dmenu.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'dmenu.c') diff --git a/dmenu.c b/dmenu.c index 9278e91..1cfefcd 100644 --- a/dmenu.c +++ b/dmenu.c @@ -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 */ -- cgit v1.2.3-13-gbd6f