diff options
author | Anselm R Garbe | 2010-07-25 09:58:25 +0100 |
---|---|---|
committer | Anselm R Garbe | 2010-07-25 09:58:25 +0100 |
commit | 36311d88afc07b61131a165cdc383020b7201d95 (patch) | |
tree | 6abd97c059309af82422a5df8250aaa0e362d83a | |
parent | f1a2a3c8501ed2acb4fdeb86f6aa2ce2c19bbc7d (diff) |
applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
-rw-r--r-- | dwm.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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))) |