aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-13 12:04:04 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-13 12:04:04 +0100
commitfcf26a38f1ad291cd794daa52e44af252b728b6a (patch)
treef3d39f1ee60b76e5ba88557f48da8c6e489c29f0
parent4fc6cbe6086ed940c9a8eacc9ba8c2405c3f96ac (diff)
using xidx
-rw-r--r--dmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmenu.c b/dmenu.c
index 0f728c2..a37471a 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -634,9 +634,9 @@ setup(Bool topbar) {
634#if XINERAMA 634#if XINERAMA
635 if(XineramaIsActive(dpy)) { 635 if(XineramaIsActive(dpy)) {
636 info = XineramaQueryScreens(dpy, &i); 636 info = XineramaQueryScreens(dpy, &i);
637 x = info[0].x_org; 637 x = info[xidx].x_org;
638 y = topbar ? info[0].y_org : info[0].y_org + info[0].height - mh; 638 y = topbar ? info[xidx].y_org : info[xidx].y_org + info[xidx].height - mh;
639 mw = info[0].width; 639 mw = info[xidx].width;
640 XFree(info); 640 XFree(info);
641 } 641 }
642 else 642 else