FVWM: Re DestroyMenu

From: Toshi Isogai <isogai_at_kentek.com>
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
isogai_at_kentek.com
--
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 majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Aug 22 1997 - 16:47:55 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST