On (22/08/08 03:33), Jan Kaliszewski wrote: > To: [email protected] > From: Jan Kaliszewski <[EMAIL PROTECTED]> > Subject: [dwm] Bug: trying to toggletag when there is no focused window => dwm > crashes > Reply-To: dwm mail list <[email protected]> > List-Id: dwm mail list <dwm.suckless.org> > User-Agent: Opera Mail/9.51 (Linux) > > Good evening||morning, > > I noticed a bug in dwm 5.1 -- the description in the subject. The reason > is using sel->tags in function toggletag before checking whether sel is > not NULL. > > The solution is obvious ("if (!sel) return;" before "...sel->tags..."). > Patch attached. > > Best regards > *j > > -- > Jan Kaliszewski (zuo)
Thanks, aplied only slightly changed. -- Premysl "Anydot" Hruby, http://www.redrum.cz/
