Xinerama: correct variable declarations in preprocessor conditional

This commit is contained in:
Thomas Gardner 2016-11-25 22:38:09 +10:00 committed by Hiltjo Posthuma
parent a280bdad1f
commit e90b88e12a
1 changed files with 6 additions and 5 deletions

11
dmenu.c
View File

@ -539,15 +539,16 @@ run(void)
static void static void
setup(void) setup(void)
{ {
int x, y; int x, y, i = 0;
unsigned int du;
XSetWindowAttributes swa; XSetWindowAttributes swa;
XIM xim; XIM xim;
Window w, dw, *dws;
XWindowAttributes wa;
#ifdef XINERAMA #ifdef XINERAMA
XineramaScreenInfo *info; XineramaScreenInfo *info;
Window w, pw, dw, *dws; Window pw;
XWindowAttributes wa; int a, j, di, n, area = 0;
int a, j, di, n, i = 0, area = 0;
unsigned int du;
#endif #endif
/* init appearance */ /* init appearance */