diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-22 21:34:06 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-09-22 21:34:06 +0200 |
| commit | 60444daa70591946f352446906e498c8ae3dafdf (patch) | |
| tree | 5719eb66899a7ba6e1504069e930d6b69dfec3cd /dwm.c | |
| parent | Added tag 4.5 for changeset 2acc60d6dfe2 (diff) | |
| download | dwm-60444daa70591946f352446906e498c8ae3dafdf.tar.gz dwm-60444daa70591946f352446906e498c8ae3dafdf.zip | |
setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1398,7 +1398,7 @@ void | |||
| 1398 | setmwfact(const char *arg) { | 1398 | setmwfact(const char *arg) { |
| 1399 | double delta; | 1399 | double delta; |
| 1400 | 1400 | ||
| 1401 | if(!isarrange(tile)) | 1401 | if(isarrange(floating)) |
| 1402 | return; | 1402 | return; |
| 1403 | /* arg handling, manipulate mwfact */ | 1403 | /* arg handling, manipulate mwfact */ |
| 1404 | if(arg == NULL) | 1404 | if(arg == NULL) |
| @@ -1850,7 +1850,7 @@ void | |||
| 1850 | zoom(const char *arg) { | 1850 | zoom(const char *arg) { |
| 1851 | Client *c; | 1851 | Client *c; |
| 1852 | 1852 | ||
| 1853 | if(!sel || !isarrange(tile) || sel->isfloating) | 1853 | if(!sel || isarrange(floating) || sel->isfloating) |
| 1854 | return; | 1854 | return; |
| 1855 | if((c = sel) == nexttiled(clients)) | 1855 | if((c = sel) == nexttiled(clients)) |
| 1856 | if(!(c = nexttiled(c->next))) | 1856 | if(!(c = nexttiled(c->next))) |
