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 0b82158554880cf0e8a9d8e6fb911c83fbb874f4..e0802ad2b64ed7e9c91cd08d78911af1edd52f5f 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));