summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 363c202..66daba3 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) {
2009 2009
2010void 2010void
2011zoom(const char *arg) { 2011zoom(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);