diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 12:09:18 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 12:09:18 +0200 |
| commit | 2aef8b9b4ce0900d241c60cb3a07e111c825d13a (patch) | |
| tree | 74724a123e98195e1556c77a13f38bb7fea64cb7 /layout.c | |
| parent | thanks to Jukka (diff) | |
| download | dwm-2aef8b9b4ce0900d241c60cb3a07e111c825d13a.tar.gz dwm-2aef8b9b4ce0900d241c60cb3a07e111c825d13a.zip | |
made bar togglalble
Diffstat (limited to 'layout.c')
| -rw-r--r-- | layout.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -217,6 +217,12 @@ setlayout(const char *arg) { | |||
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | void | 219 | void |
| 220 | togglebar(const char *arg) { | ||
| 221 | bpos = (bpos == BarOff) ? BARPOS : BarOff; | ||
| 222 | updatebarpos(); | ||
| 223 | } | ||
| 224 | |||
| 225 | void | ||
| 220 | togglemax(const char *arg) { | 226 | togglemax(const char *arg) { |
| 221 | XEvent ev; | 227 | XEvent ev; |
| 222 | 228 | ||
