FVWM: Re: fvwm / FvwmAuto problem

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Thu, 20 Feb 97 13:56:17 +0100

>>>>> Romano Giannetti writes:

R> But colud not be possible
R> to add a function to the main fvwm2 (or an option to Raise and Lower
R> command)
R> in the style "raise it if and only if the window exists and is focused,
R> otherwise do a Nop"? Then FvwmAuto can use it to solve (I think) both
R> the black
R> dot and the flip-flop problem.

> PS:
> If you have any suggestions to hack out the "black dot", I'm ready to try
> anything -- my sparc10 is always slower than me :-)

R> I used the hack proposed by albrecht (thanks*1000!) and it works for me:

R> AddToFunc raise_if_exist "I" WindowId $w raise
R> AddToFunc "InitFunction" "I" Module FvwmAuto 1500 raise_if_exist

R> I have no more black dots since then. Hope this helps you.
R> Bye,
R> Romano


so with my first implementation of the WindowId function as a parameter to
the Prev/Next/None functions (chuck migh still have it lying around),
this could be used:

AddToFunc raise_if_exist "I" Next [WindowId $w, Focus] raise
AddToFunc "InitFunction" "I" Module FvwmAuto 1500 raise_if_exist

If chuck isn't able to find it in his patches, I might search for it once
more, but chuck urged me to make it an own function and then he rewrote
the Prev/Next/None stuff for a more elaborate syntax.

So he'll have to tinker with it anyways.

Chuck ?

albrecht
-- 
My software never has bugs.  It just develops random features. 
--
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 Feb 20 1997 - 07:08:33 GMT

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