fixes using arg->i instead of arg->ui 15ce1436
Premysl Hruby · 2008-08-12 21:24 1 file(s) · +3 −3
dwm.c +3 −3
347 347
348 348
void
349 349
cleanup(void) {
350 -
	Arg a = {.i = ~0};
350 +
	Arg a = {.ui = ~0};
351 351
	Layout foo = { "", NULL };
352 352
353 353
	close(STDIN_FILENO);
1640 1640
1641 1641
void
1642 1642
view(const Arg *arg) {
1643 -
	if(arg && (arg->i & TAGMASK) == tagset[seltags])
1643 +
	if(arg && (arg->ui & TAGMASK) == tagset[seltags])
1644 1644
		return;
1645 1645
	seltags ^= 1; /* toggle sel tagset */
1646 1646
	if(arg && (arg->ui & TAGMASK))
1647 -
		tagset[seltags] = arg->i & TAGMASK;
1647 +
		tagset[seltags] = arg->ui & TAGMASK;
1648 1648
	clearurgent();
1649 1649
	arrange();
1650 1650
}