applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
Anselm R Garbe anselm@garbe.us
Sun, 25 Jul 2010 09:58:25 +0100
1 files changed,
0 insertions(+),
1 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -1791,7 +1791,6 @@ Monitor *m;
XineramaScreenInfo *info = XineramaQueryScreens(dpy, &nn); XineramaScreenInfo *unique = NULL; - info = XineramaQueryScreens(dpy, &nn); for(n = 0, m = mons; m; m = m->next, n++); /* only consider unique geometries as separate screens */ if(!(unique = (XineramaScreenInfo *)malloc(sizeof(XineramaScreenInfo) * nn)))