diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 11:42:08 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-22 11:42:08 +0100 |
commit | 2c477cf66147d369ae8ff17acdce743c6811ee6a (patch) | |
tree | 121a031caf30be9f6931e37e26cf2469c8c7acfa /client.c | |
parent | 986ca73074ef165880c75ee46a4eb6a1b328dc5b (diff) | |
download | dwm-2c477cf66147d369ae8ff17acdce743c6811ee6a.tar.gz |
replaced Arg union with const char *arg, seems cleaner to me, even if we need atoi() in some places
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c index 3d9cd40..2e443c2 100644 --- a/client.c +++ b/client.c @@ -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; |