dmenu

My custom build of dmenu.
Log | Files | Refs | README | LICENSE

commit fcf26a38f1ad291cd794daa52e44af252b728b6a
parent 4fc6cbe6086ed940c9a8eacc9ba8c2405c3f96ac
Author: Anselm R Garbe <garbeam@gmail.com>
Date:   Fri, 13 Jun 2008 12:04:04 +0100

using xidx
Diffstat:
Mdmenu.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dmenu.c b/dmenu.c @@ -634,9 +634,9 @@ setup(Bool topbar) { #if XINERAMA if(XineramaIsActive(dpy)) { info = XineramaQueryScreens(dpy, &i); - x = info[0].x_org; - y = topbar ? info[0].y_org : info[0].y_org + info[0].height - mh; - mw = info[0].width; + x = info[xidx].x_org; + y = topbar ? info[xidx].y_org : info[xidx].y_org + info[xidx].height - mh; + mw = info[xidx].width; XFree(info); } else