[comp.windows.open-look] Sun 'olwm' "full screen" behavior

djb@cbnews.att.com (david.j.bryant) (03/07/91)

How does the Sun 'olwm' window manager decide what is meant by "Full Screen"?
Whenever I select "Full Screen" from the window menu my application is always
resized to full screen height but is unchanged in width.  I understand from
the Open Look spec that window managers may interpret full screen in this way
for text applications (esp. terminal emulators, debuggers, etc.), but for
others might truly honor the request to make the application full screen.
Problem is, I get this behavior for all applications regardless of their
type.  I've tried using size hints to specify max height/width, but Sun 'olwm'
seems to ignore this information.

Any hints on how I can get Sun 'olwm' to give me a truly Full Screen resize?

ps: The AT&T 'olwm' 2.0 window manager, on the other hand, always resizes the 
    requesting application to cover the entire screen.  This happens to be what
    I want to do, but I suppose it might be nice to be able to alter this
    behavior as well...

                                         UUCP: att!cbosgd!djb
        David Bryant                           att!cborion!djb
        AT&T Bell Laboratories       INTERNET: djb@cborion.cb.att.com
        Room 1B-256                            djb@cbosgd.att.com
        6200 East Broad Street          PHONE: (614) 860-4516
        Columbus, Ohio  43213             FAX: (614) 868-4302

smarks@Eng.Sun.COM (Stuart Marks) (03/12/91)

    From:  djb@cbnews.att.com (david.j.bryant)

    How does the Sun 'olwm' window manager decide what is meant by "Full
    Screen"?  Whenever I select "Full Screen" from the window menu my
    application is always resized to full screen height but is unchanged in
    width.  [...] I've tried using size hints to specify max height/width,
    but Sun 'olwm' seems to ignore this information.

(You mean "Full Size", not "Full Screen", right?)  By default, olwm zooms
the window to full screen height and leaves its width unchanged.  However,
if the program has specified a maximum size in WM_NORMAL_HINTS, olwm will
use that size instead.  In order to get this to work, you must set
WM_NORMAL_HINTS property before the window is mapped onto the screen.  If
you change the hints after the window is mapped, olwm won't pick up the
changes.

s'marks

Stuart W. Marks			ARPA: smarks@eng.sun.com
Windows & Graphics Software	UUCP: sun!smarks
Sun Microsystems, Inc.