a small fix to buttonpress d99ec614
Anselm R Garbe · 2008-02-28 17:13 1 file(s) · +2 −2
dwm.c +2 −2
291 291
	}
292 292
}
293 293
294 -
295 -
296 294
void
297 295
arrange(void) {
298 296
	unsigned int i;
342 340
	if(ev->window == selview->barwin) {
343 341
		x = 0;
344 342
		for(i = 0; i < LENGTH(tags); i++) {
343 +
			if(&views[vtags[i]] != selview)
344 +
				continue;
345 345
			x += textw(tags[i]);
346 346
			if(ev->x < x) {
347 347
				if(ev->button == Button1) {