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 0b82158..e0802ad 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1568,7 +1568,6 @@ setup(void) {
 	cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur);
 
 	// init screens/monitors first
-	mcount = 1;
 	if((isxinerama = XineramaIsActive(dpy)))
 		info = XineramaQueryScreens(dpy, &mcount);
 	selmonitor = monitors = emallocz(mcount * sizeof(Monitor));