applied Jukka's zoom-patch
44260324
1 file(s) · +2 −2
| 2009 | 2009 | ||
| 2010 | 2010 | void |
|
| 2011 | 2011 | zoom(const char *arg) { |
|
| 2012 | - | Client *c; |
|
| 2012 | + | Client *c = sel; |
|
| 2013 | 2013 | ||
| 2014 | 2014 | if(!sel || !dozoom || sel->isfloating) |
|
| 2015 | 2015 | return; |
|
| 2016 | - | if((c = sel) == nexttiled(clients, c->monitor)) |
|
| 2016 | + | if(c == nexttiled(clients, c->monitor)) |
|
| 2017 | 2017 | if(!(c = nexttiled(c->next, c->monitor))) |
|
| 2018 | 2018 | return; |
|
| 2019 | 2019 | detach(c); |