Re: FVWM: A question...

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Fri, 13 Sep 2002 23:25:53 -0400

Len Philpot <len_at_philpot.org> writes:
> ...that's maybe not already answered in obvious fashion somewhere. :)
>
> I have an FvwmForm dialog "RunCommand", which just offers a field to
> specify and run a command. It works fine, but I'd like to limit it to
> one instance only. How can I make it basically "application modal"? Is
> there a way to check to see if it's already up and if so, abort?
>
> I've tried *RunCommandGrabServer, which does indeed stop everything
> else, but it allows more RunCommands (I have it assigned to Alt+F2).
> Also, for example, if I press Alt+Tab while it's up, nothing happens.
> However when I either run or cancel it, the windowlist shows up. This
> may be unavoidable and is no biggie.
>
> Is there a way to maybe set a flag variable and check for its existance
> prior to running? If so, maybe a generic "only once" function could be
> written. In a shell script, C, etc., I could do this, but I'm not sure
> how with fvwm.
>
> I'm running 2.4.6, if it makes any difference.

destroyfunc oneform
addtofunc oneform i none (FvwmForm-Talk) Module FvwmTalk

key F1 R A oneform


-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Sep 13 2002 - 22:29:46 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST