diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-02-20 13:48:52 +0000 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-02-20 13:48:52 +0000 |
| commit | 4426032450777e63ac9a8967cd67382497954c51 (patch) | |
| tree | 07bfbb35fc96ccc78478ed7384ea5ea4dd25740c /dwm.c | |
| parent | resize handles offscreen issues (diff) | |
| download | dwm-4426032450777e63ac9a8967cd67382497954c51.tar.gz dwm-4426032450777e63ac9a8967cd67382497954c51.zip | |
applied Jukka's zoom-patch
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) { | |||
| 2009 | 2009 | ||
| 2010 | void | 2010 | void |
| 2011 | zoom(const char *arg) { | 2011 | zoom(const char *arg) { |
| 2012 | Client *c; | 2012 | Client *c = sel; |
| 2013 | 2013 | ||
| 2014 | if(!sel || !dozoom || sel->isfloating) | 2014 | if(!sel || !dozoom || sel->isfloating) |
| 2015 | return; | 2015 | return; |
| 2016 | if((c = sel) == nexttiled(clients, c->monitor)) | 2016 | if(c == nexttiled(clients, c->monitor)) |
| 2017 | if(!(c = nexttiled(c->next, c->monitor))) | 2017 | if(!(c = nexttiled(c->next, c->monitor))) |
| 2018 | return; | 2018 | return; |
| 2019 | detach(c); | 2019 | detach(c); |
