commit 88efbf3dd1d5df15581fb83566c0e087b89bf33d from: Anselm R Garbe date: Thu Jul 17 16:40:42 2008 UTC removed compiler warning if XINERAMA is disabled commit - 4d8a646958fa2e0c8fe9d8da3dd26357e8bb4317 commit + 88efbf3dd1d5df15581fb83566c0e087b89bf33d blob - e48733380f3880c6a9965ecdaf1c2c3cdffd6c96 blob + 863a262a5679f728bd7e9789fd3693212fb123fe --- dmenu.c +++ dmenu.c @@ -586,7 +586,7 @@ run(void) { void setup(Bool topbar) { - int i, j, n, x, y; + int i, j, x, y; XModifierKeymap *modmap; XSetWindowAttributes wa; #if XINERAMA @@ -619,6 +619,7 @@ setup(Bool topbar) { mh = dc.font.height + 2; #if XINERAMA if(XineramaIsActive(dpy)) { + int n; i = 0; info = XineramaQueryScreens(dpy, &n); if(n > 1) {