aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index e487333..863a262 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -586,7 +586,7 @@ run(void) {
586 586
587void 587void
588setup(Bool topbar) { 588setup(Bool topbar) {
589 int i, j, n, x, y; 589 int i, j, x, y;
590 XModifierKeymap *modmap; 590 XModifierKeymap *modmap;
591 XSetWindowAttributes wa; 591 XSetWindowAttributes wa;
592#if XINERAMA 592#if XINERAMA
@@ -619,6 +619,7 @@ setup(Bool topbar) {
619 mh = dc.font.height + 2; 619 mh = dc.font.height + 2;
620#if XINERAMA 620#if XINERAMA
621 if(XineramaIsActive(dpy)) { 621 if(XineramaIsActive(dpy)) {
622 int n;
622 i = 0; 623 i = 0;
623 info = XineramaQueryScreens(dpy, &n); 624 info = XineramaQueryScreens(dpy, &n);
624 if(n > 1) { 625 if(n > 1) {