On Wed, 20 Aug 1997, Dan Astoorian <djast_at_ppp12.utopia.csas.com> wrote:
> I use FvwmButtons, with this line...
>
> *FvwmButtons Restart icon.xpm Restart fvwm2
> When FvwmButtons sends commands to fvwm2, it includes the trailing
> newline, and fvwm2 isn't parsing it out, so it tries to start a command
> named "fvwm2\n".
> Would it break anything if restart_function() were changed to parse out
> the first word after the command?
I wouldn't recommend changing the restart function to compensate for
a bug in the FvwmButtons interface (if that were the case): that would be
degrading code that's working nicely instead of fixing what's broken.
However, I think that if you try something along the following lines
you'll be more than satisfied with the result:
*FvwmButtons(Title Restart, Icon icon.xpm, Action "Restart fvwm2")
or whatever your Favorite Virtuous Window Manager is called.
Cheers,
Bob
--
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 Thu Aug 21 1997 - 21:09:50 BST