fixed missing else branch - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 508922b90db66b88cfb66e81b8d48065d13f6bc1 (DIR) parent 4adfdc9d95b2ec6603deab153697e2296e3c9c97 (HTM) Author: Anselm R Garbe <garbeam@gmail.com> Date: Mon, 11 Feb 2008 20:51:04 +0000 fixed missing else branch Diffstat: M dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git 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();