separated setup stuff into main.c:setup() - this makes main() more readable

This commit is contained in:
Anselm R. Garbe
2006-08-23 10:21:57 +02:00
parent 07c2659806
commit b5159dfd2f
3 changed files with 104 additions and 99 deletions

2
view.c
View File

@ -195,7 +195,7 @@ restack()
void
togglemode(Arg *arg)
{
arrange = arrange == dofloat ? dotile : dofloat;
arrange = (arrange == dofloat) ? dotile : dofloat;
if(sel)
arrange(NULL);
else