Re: FVWM: a HUGE window ... a bug?

From: Dan Espen <dane_at_mk.bellcore.com>
Date: Tue, 18 Nov 1997 15:05:13 -0500

jaakko.puurunen_at_cimcorp.fi writes:
> The problem is that with FVMW2 this windows is really huge
> (1596x6384 pixels) when it is supposed to be something like 533x399
> pixels (533*3=1599, 399*16=6384).
>
> WM_NORMAL_HINTS(WM_SIZE_HINTS):
> program specified minimum size: 355 by 266
> program specified minimum aspect ratio: 4/1
> program specified maximum aspect ratio: 1/4

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".

Let us know the result.
--
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 Tue Nov 18 1997 - 14:09:27 GMT

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