replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places

This commit is contained in:
Anselm R. Garbe
2007-02-22 11:42:08 +01:00
parent 986ca73074
commit 2c477cf661
9 changed files with 189 additions and 184 deletions

View File

@ -153,7 +153,7 @@ focus(Client *c) {
}
void
killclient(Arg arg) {
killclient(const char *arg) {
if(!sel)
return;
if(isprotodel(sel))
@ -285,7 +285,7 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
}
void
toggleversatile(Arg arg) {
toggleversatile(const char *arg) {
if(!sel || lt->arrange == versatile)
return;
sel->isversatile = !sel->isversatile;