dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 36311d88afc07b61131a165cdc383020b7201d95
parent f1a2a3c8501ed2acb4fdeb86f6aa2ce2c19bbc7d
Author: Anselm R Garbe <anselm@garbe.us>
Date:   Sun, 25 Jul 2010 09:58:25 +0100

applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
Diffstat:
Mdwm.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/dwm.c b/dwm.c
@@ -1791,7 +1791,6 @@ updategeom(void) {
         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)))