JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
minor
authorAnselm R Garbe <garbeam@gmail.com>
Thu, 21 Feb 2008 19:19:46 +0000 (19:19 +0000)
committerAnselm R Garbe <garbeam@gmail.com>
Thu, 21 Feb 2008 19:19:46 +0000 (19:19 +0000)
dwm.c

diff --git a/dwm.c b/dwm.c
index 0b82158..e0802ad 100644 (file)
--- 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));