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 | re-added xterm to config.default.h (diff) | |
| download | dwm-2c477cf66147d369ae8ff17acdce743c6811ee6a.tar.gz dwm-2c477cf66147d369ae8ff17acdce743c6811ee6a.zip | |
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
| @@ -153,7 +153,7 @@ focus(Client *c) { | |||
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | void | 155 | void |
| 156 | killclient(Arg arg) { | 156 | killclient(const char *arg) { |
| 157 | if(!sel) | 157 | if(!sel) |
| 158 | return; | 158 | return; |
| 159 | if(isprotodel(sel)) | 159 | if(isprotodel(sel)) |
| @@ -285,7 +285,7 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) { | |||
| 285 | } | 285 | } |
| 286 | 286 | ||
| 287 | void | 287 | void |
| 288 | toggleversatile(Arg arg) { | 288 | toggleversatile(const char *arg) { |
| 289 | if(!sel || lt->arrange == versatile) | 289 | if(!sel || lt->arrange == versatile) |
| 290 | return; | 290 | return; |
| 291 | sel->isversatile = !sel->isversatile; | 291 | sel->isversatile = !sel->isversatile; |
