jaakko.puurunen_at_cimcorp.fi writes:
> > Given  the multipliers that  the  window is  off by,  I  would have to
> > suspect the "aspect ratios".  The function in fvwm2 that handles these
> > hints is in fvwm/resize.c in function "ConstrainSize".  I suggest that
> > you remove the  code that starts with the  comment "Third, adjust  for
> > aspect ratio" and see if you still have the problem.
> > 
> > Remove the code up until the comment "Fourth, account for border width
> > and title height".
> 
> Done as Dan Espen adviced.
> 
> > Let us know the result.
> 
> The moment of truth ... YES! It works! Thank you Mr. Espen :)
> 
> Well, what happens now that the problem is solved? Does the source code
> of FVWM2 get updated or do I always have to build my own version of
> the software ... I believe debian 2.0 is approaching and I just love
> those precompiled packages.
The problem isn't solved, it's merely identified.
What  I had   you  do  is remove   the  code in   fvwm2  that supports
application specified  aspect ratios.  We  really need to fix  it, not
remove it.
I did compare fvwm2's logic to the logic  in ctwm and even though they
have an obvious common origin, they are suspiciously different.
Last night I tried to create a test program that creates a window with
aspect ratios  to reproduce the problem,  but it seems to involve more
than turning on the  flag and setting  the x and  y values in the size
hints structure.  All this  code  is new to   me so if anyone else  is
familiar with this, please jump in.
> Anyway, thanks again (for everyone) for your help!
> 
> Jaakko Puurunen
> 
> --
--
Dan Espen                                Phone: (732) 699-5570
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.bellcore.com
Piscataway, NJ 08854
--
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 Nov 19 1997 - 07:17:31 GMT