Re: FVWM: SECOND REQUEST: FVWM scaling windows

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Wed, 14 Nov 2001 11:32:55 -0500

David <cupcake_at_sdf.lonestar.org> writes:
> Also, there is one other point. I have ported some sun xwindows
> motif programs to XFree86 and lesstif. I am now running on a
> pc with its display set to 1162 x 864 rather than the default
> 640x480.
>
> This way every pc program comes up slightly smaller but
> unfortunately all the motif programs come up full size.
>
> I think it would be wonderful if I could tell fvwm to
> scale all the motif or lesstif pixels to a different size or if fvwm
> could just read this off the current pcwindows setting.

I think you are overestimating the involvment of the window
manager. Window managers wrap borders around windows
but they don't control the display of every pixel inside
the window.

With Motif applications you can usually set X-Resources
to cause Motif to use a different font depending on the screen
size. Heres something I use in my X-resources for controlling
the Emacs window size:

#if ( HEIGHT == 900 ) /* Traditional Sparc */
Emacs.geometry: 81x55+0+0
#elif ( HEIGHT == 1024 ) /* Sparc 21 inch */
Emacs.geometry: 81x63+0+0
#elif ( HEIGHT == 768 ) /* Exceed in 1024x768 mode */
Emacs.geometry: 81x46+0+0
#elif ( HEIGHT == 1200 ) /* My home machine, 1600x1200 use side x side layout */
Emacs*xmh.geometry: 81x68+757+105
Emacs.geometry: 81x75
#else /* I have no idea... */
Emacs.geometry: 81x40+0+0
#endif

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 14 2001 - 10:37:08 GMT

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