From 36311d88afc07b61131a165cdc383020b7201d95 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sun, 25 Jul 2010 09:58:25 +0100 Subject: applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo! --- dwm.c | 1 - 1 file changed, 1 deletion(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index 670afbe6..438b9e71 100644 --- 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))) -- cgit v1.2.3