about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--dwm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 670afbe..438b9e7 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)))