diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-01-05 21:56:57 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-05 21:56:57 +0100 |
| commit | e9cfae7aba1c8eafd827854705bf0d11d2de2dfb (patch) | |
| tree | 7df19e62e6f09f8a07beab7ff14fb75a0ba86c35 /view.c | |
| parent | removed swap(), implemented pop for everything (diff) | |
| download | dwm-e9cfae7aba1c8eafd827854705bf0d11d2de2dfb.tar.gz dwm-e9cfae7aba1c8eafd827854705bf0d11d2de2dfb.zip | |
prevent pop() if first sel == nexttiled(clients)
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -261,7 +261,7 @@ zoom(Arg *arg) { | |||
| 261 | n++; | 261 | n++; |
| 262 | 262 | ||
| 263 | c = sel; | 263 | c = sel; |
| 264 | if(arrange != dofloat) { | 264 | if((arrange != dofloat) && c != nexttiled(clients)) { |
| 265 | detach(c); | 265 | detach(c); |
| 266 | if(clients) | 266 | if(clients) |
| 267 | clients->prev = c; | 267 | clients->prev = c; |
