using xidx
fcf26a38
1 file(s) · +3 −3
| 634 | 634 | #if XINERAMA |
|
| 635 | 635 | if(XineramaIsActive(dpy)) { |
|
| 636 | 636 | info = XineramaQueryScreens(dpy, &i); |
|
| 637 | - | x = info[0].x_org; |
|
| 638 | - | y = topbar ? info[0].y_org : info[0].y_org + info[0].height - mh; |
|
| 639 | - | mw = info[0].width; |
|
| 637 | + | x = info[xidx].x_org; |
|
| 638 | + | y = topbar ? info[xidx].y_org : info[xidx].y_org + info[xidx].height - mh; |
|
| 639 | + | mw = info[xidx].width; |
|
| 640 | 640 | XFree(info); |
|
| 641 | 641 | } |
|
| 642 | 642 | else |