aboutsummaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-02-11 20:51:04 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-02-11 20:51:04 +0000
commit508922b90db66b88cfb66e81b8d48065d13f6bc1 (patch)
tree8a09463f33dc7b200ce9e7bf58f38df5061e97f6 /dwm.c
parent4adfdc9d95b2ec6603deab153697e2296e3c9c97 (diff)
downloaddwm-508922b90db66b88cfb66e81b8d48065d13f6bc1.tar.gz
fixed missing else branch
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 020adb3..48e0dd1 100644
--- a/dwm.c
+++ b/dwm.c
@@ -374,7 +374,8 @@ buttonpress(XEvent *e) {
else if(ev->button == Button2) {
if((floating != m->layout->arrange) && c->isfloating)
togglefloating(NULL);
- zoom(NULL);
+ else
+ zoom(NULL);
}
else if(ev->button == Button3 && !c->isfixed) {
restack();