about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-06 13:06:37 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-06 13:06:37 +0200
commit5983c00b9508d48331b2c57f2c88ea09a8feb291 (patch)
tree73898ee9823dae41f7b481a533b541651d56e226 /view.c
parent6651dd7fd9e8e95cfc6c472f1adfeff41735d798 (diff)
downloaddwm-5983c00b9508d48331b2c57f2c88ea09a8feb291.tar.gz
do* has no Arg arument anymore (never called directly) 1.9
Diffstat (limited to 'view.c')
-rw-r--r--view.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/view.c b/view.c
index 24b0349..ac1728b 100644
--- a/view.c
+++ b/view.c
@@ -63,7 +63,7 @@ togglemax(Client *c) {
 
 /* extern */
 
-void (*arrange)(Arg *) = DEFMODE;
+void (*arrange)(void) = DEFMODE;
 
 void
 detach(Client *c) {
@@ -77,7 +77,7 @@ detach(Client *c) {
 }
 
 void
-dofloat(Arg *arg) {
+dofloat(void) {
 	Client *c;
 
 	for(c = clients; c; c = c->next) {
@@ -95,7 +95,7 @@ dofloat(Arg *arg) {
 }
 
 void
-dotile(Arg *arg) {
+dotile(void) {
 	unsigned int i, n, mpx, stackw, stackh, th;
 	Client *c;
 
@@ -210,7 +210,7 @@ resizecol(Arg *arg) {
 			return;
 		master -= arg->i;
 	}
-	arrange(NULL);
+	arrange();
 }
 
 void
@@ -247,7 +247,7 @@ void
 togglemode(Arg *arg) {
 	arrange = (arrange == dofloat) ? dotile : dofloat;
 	if(sel)
-		arrange(NULL);
+		arrange();
 	else
 		drawstatus();
 }
@@ -261,7 +261,7 @@ toggleview(Arg *arg) {
 	if(i == ntags)
 		seltag[arg->i] = True; /* cannot toggle last view */
 	reorder();
-	arrange(NULL);
+	arrange();
 }
 
 void
@@ -272,7 +272,7 @@ view(Arg *arg) {
 		seltag[i] = False;
 	seltag[arg->i] = True;
 	reorder();
-	arrange(NULL);
+	arrange();
 }
 
 void
@@ -282,7 +282,7 @@ viewall(Arg *arg) {
 	for(i = 0; i < ntags; i++)
 		seltag[i] = True;
 	reorder();
-	arrange(NULL);
+	arrange();
 }
 
 void
@@ -310,5 +310,5 @@ zoom(Arg *arg) {
 	c->next = clients;
 	clients = c;
 	focus(c);
-	arrange(NULL);
+	arrange();
 }