Re: FVWM: clock app comes up multiple times (once per restart)

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Wed, 24 Jul 1996 16:15:06 -0400

>>>>> "Dan" == Dan Calle <dcalle_at_lucifer.gu.sbc.edu> writes:

Dan> tim werner wrote:
>>
>> I start fvwm from .xinitrc, so it has to be the last app (as I
>> understand it, anyway). If I start oclock from .xinitrc, I get a silly
>> title bar stuck to the top of the clock. That's actually what I'm
>> trying to avoid.
Dan> [snip]
>> Does anyone have this sort of thing working? Or, what do I need to do
>> to get fvwm not to put the title bar on oclock when oclock is started
>> before fvwm?

Dan> This may be related to a problem I've been having: sometimes some
Dan> of the things started in my .xsession don't get the style
Dan> attributes. See if restarting fvwm after everything in your
Dan> .xinitrc finishes running fixes this. I'd only noticed the
Dan> problem in more recent versions (2.0.42 and .43) though.

Actually, it's always been there. In fact, it probably existed in
1.xx as well, but since it is timing related it never really showed up
for anyone then.

I think I have it fixed for the 2.1.0 release though.

The problem is in fvwm's usage of XGrabServer and XUngrabServer. The
former isn't called soon enough in the startup process, and the latter
may be accidentally being called too soon due to a nested call
situation... Well, the details aren't that important I guess.
Basically I just put a wrapper around those two calls so that they
keep track of the server grab request "nest level" and only call
XUngrabServer if it's the last one, and I moved the initial
XGrabServer call further up in the startup procedure. This should fix
things, although since I don't see the problem to begin with, it's
hard to actually test this...

I'll try and make a patch to test this and post it soon (hopefully),
since I'd like to know if it truly fixes things before I get 2.1.0
out. Or I could just make one more beta to test this, I guess, and
then put 2.1.0 out right after that.

Chuck

*******************************************************************************
Charles K. Hines <chuck_hines_at_vnet.ibm.com>
IBM Logic Synthesis Developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis, Presas Style Filipino Martial Arts]

         "Go back to sleep, Chuck. You're just havin' a nightmare
             -- of course, we ARE still in Hell." (Gary Larson)
*******************************************************************************
--
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 Wed Jul 24 1996 - 15:19:37 BST

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