Re: [dwm] Bug in zoom()

2008-05-30 Thread yy
2008/5/29, Anselm R. Garbe [EMAIL PROTECTED]: - if(!lt-arrange || sel-isfloating) + if(!sel || !lt-arrange || ismax || sel-isfloating) return; Just a little remark. Now that maximizations are done in arrange() the || ismax check here is not neccessary any more (it will

[dwm] Bug in zoom()

2008-05-29 Thread Nibble
Hi, If I press Meta+Return in an empty tag dwm crash, due to zoom() function don't check if some client is selected. The attached patch should solve this problem. Furthermore, zoom() returns if ismax==true, now. Kind regards, Nibble diff -r 7850bc57cbdc dwm.c --- a/dwm.c Wed May 28 10:45:18

Re: [dwm] Bug in zoom()

2008-05-29 Thread Anselm R. Garbe
On Thu, May 29, 2008 at 04:05:39PM +0200, Nibble wrote: If I press Meta+Return in an empty tag dwm crash, due to zoom() function don't check if some client is selected. The attached patch should solve this problem. Furthermore, zoom() returns if ismax==true, now. Kind regards, Nibble