about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2010-07-25 09:58:25 +0100
committerAnselm R Garbe <anselm@garbe.us>2010-07-25 09:58:25 +0100
commit36311d88afc07b61131a165cdc383020b7201d95 (patch)
tree6abd97c059309af82422a5df8250aaa0e362d83a
parentf1a2a3c8501ed2acb4fdeb86f6aa2ce2c19bbc7d (diff)
downloaddwm-36311d88afc07b61131a165cdc383020b7201d95.tar.gz
applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
-rw-r--r--dwm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 670afbe..438b9e7 100644
--- a/dwm.c
+++ b/dwm.c
@@ -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)))
'n136' href='#n136'>136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217