# HG changeset patch # User Anselm R Garbe # Date 1202763064 0 # Node ID f07dd2c127c14fb70a831b1d2fb59fdfa5ce2c48 # Parent 3a617d40e320e441e4cc091b80b8efb16ee59bdb fixed missing else branch diff -r 3a617d40e320 -r f07dd2c127c1 dwm.c --- a/dwm.c Mon Feb 11 20:48:22 2008 +0000 +++ b/dwm.c Mon Feb 11 20:51:04 2008 +0000 @@ -374,7 +374,8 @@ 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();