some cleanup c19d4b29
Anselm R Garbe · 2008-03-13 12:45 2 file(s) · +3 −4
config.anselm.h +2 −2
71 71
	moy = my;
72 72
	mow = mw;
73 73
	moh = mh;
74 -
75 -
	updatebarpos();
76 74
}
77 75
78 76
void
79 77
anselmgeoms(const char *arg) {
80 78
	setgeoms = setanselmgeoms;
81 79
	setgeoms();
80 +
	updatebarpos();
82 81
	setlayout("[]|");
83 82
}
84 83
86 85
defgeoms(const char *arg) {
87 86
	setgeoms = setdefaultgeoms;
88 87
	setgeoms();
88 +
	updatebarpos();
89 89
	setlayout("[]=");
90 90
}
91 91
dwm.c +1 −2
408 408
409 409
	if(ev->window == root && (ev->width != sw || ev->height != sh)) {
410 410
		setgeoms();
411 +
		updatebarpos();
411 412
		arrange();
412 413
	}
413 414
}
1415 1416
	moy = wy;
1416 1417
	mow = ww;
1417 1418
	moh = wh;
1418 -
1419 -
	updatebarpos();
1420 1419
}
1421 1420
1422 1421
void