This commit is contained in:
Anselm R Garbe 2008-02-21 19:19:46 +00:00
parent 4076e2ff60
commit 9cb9c32ee7

1
dwm.c
View file

@ -1568,7 +1568,6 @@ setup(void) {
cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur); cursor[CurMove] = XCreateFontCursor(dpy, XC_fleur);
// init screens/monitors first // init screens/monitors first
mcount = 1;
if((isxinerama = XineramaIsActive(dpy))) if((isxinerama = XineramaIsActive(dpy)))
info = XineramaQueryScreens(dpy, &mcount); info = XineramaQueryScreens(dpy, &mcount);
selmonitor = monitors = emallocz(mcount * sizeof(Monitor)); selmonitor = monitors = emallocz(mcount * sizeof(Monitor));