Re: FVWM: 2.0.43 FvwmAuto Bug

From: Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at>
Date: Tue, 21 Jan 97 13:17:04 +0100

>>>>> Craig Earls writes:

C> I just completed upgrading to 2.0.44 from 2.0.43. FvwmAuto only works
C> once.

C> here is the relevant section of .fvwm2rc:

C> DeskTopSize 2x2
C> MenuStyle Grey80 #505050 Grey50 -adobe-times-bold-r-*-*-14-*-*-*-*-*-*-*
C> fvwm
C> ClickTime 750
C> OpaqueMoveSize 100
C> FvwmAuto 750
C> ColormapFocus FollowsMouse

should be OK.

C> When first started or restarted, the module seems to work. I restarted
C> with several different argument values and got a reasonable response.
C> Howver once the module pops up a window the timout becomes very short,
C> or the module unloads (how do I tell?)

ps x | grep FvwmAuto
tells you if FvwmAuto still lives.

I guess it still lives, but please tell me, if it does.



My FvwmAuto still works fine (I use FocusFollowsMouse):

AddToFunc RestartFunction "I" Module FvwmButtons
+ "I" Module FvwmAuto 500
+ "I" Next [emacs] focus



ctibirna_at_gch.ulaval.ca already reported this bug, I looked through the
code, found a possible hole in the logic, if you used ClickToFocus
(do you ?) and published a new version at

         <URL:http://www.auto.tuwien.ac.at/~albrecht/FvwmAuto.c.gz>
(this version also fixes a possible bug for timeouts >1000 ms :-) )

He said it still didn't work and didn't reply since, so I'm somewhat
hanging in the air.

please try the new code & if it doesn't work, add

        #define DEBUG

in the first line and mail me the output.


you could also change the #if 1 in line 152 to a #if 0
this replaces the smaller condition by explicit coding:
I suspected a compiler bug when evaluating this expression, but Cristian
Tibirna didn't reply to my message, yet.
If this fixes the bug, please tell me what compiler you use.


C> I diffed the code from FvwmAuto 2.0.44 with the version from 2.0.43, but
C> the code is way over my head. I tried to recompile the the new FvwmAuto
C> with the old libfvwm2.a and the new FvwmAuto with the old library, but
C> neither would compile.

it's the change in the libs.
        StrEquals (2.0.44) versus some !mystrcasecmp (2.0.43)

albrecht
-- 
A engineer, a doctor and a politician were sitting in a dark room
arguing over whose practice was the oldest. The doctor felt he had won
because the first rib was taken out of Adam and given to Eve. This was
a surgical procedure. The Engineer said that Earth was made out of
chaos, therefore making his work the oldest. But then, the politician
asked, "Who do you suppose created the chaos?"
--
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 Tue Jan 21 1997 - 06:18:21 GMT

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