projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc6cbe
)
using xidx
author
Anselm R Garbe
<garbeam@gmail.com>
Fri, 13 Jun 2008 11:04:04 +0000
(12:04 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Fri, 13 Jun 2008 11:04:04 +0000
(12:04 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index 0f728c283ef3fa0021b19f5dc14f41b5552d7658..a37471ac9aeb0cb20265534b76772a1271bc695e 100644
(file)
--- 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