Subject: FVWM: Re DestroyMenu

From: Toshi Isogai <[email-masked]>
Date: Fri, 22 Aug 1997 15:55:33 -0600 (MDT)

I lost the mail but somebody said something about wildcard
on DestroyMenu command. This patch works for me.

------------------------
diff fvwm.dist/builtins.c fvwm/builtins.c
572,575c572,581
<   mr = FindPopup(token);
<   if(mr == NULL)
<     return;
<   DestroyMenu(mr);
---
>   mr = Scr.AllMenus;
>   while(mr != NULL)
>   {
>     if(mr->name != NULL)
>       if( matchWildcards(token, mr->name) )
>       {
>                 DestroyMenu(mr);
>       }
>     mr = mr->next;
>   }

-----------------------------------------------------
Toshi Isogai    �볭����

KENTEK Information Systems
[email-masked]

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [email-masked].
To report problems, send mail to [email-masked].