[comp.windows.open-look] Trouble with olwm

welch@csua.berkeley.edu (Sean N. Welch) (12/28/90)

I have been trying to get the OPENLOOK Window Manager from the xview2
collection off of expo to run on an Apollo Domain 4500.  I am running 
10.2 with X11R4 and have a color display.  The xview2 package was ftp'd
from expo on 20 December.  The olgx library compiled without much work 
and olwm compiled with only a few (3 or 4) changes but I've run across a
slight problem in resizing windows that have MinimalDecor. 

When you select a resize corner, instead of the rubberband surrounding 
the window, it appears as a vertical line on the opposite side of the
window, and upon release of the SELECT button, the window resized itself
to several times the width of the screen.  

Now this only happens on clients that have the MinimalDecor resource 
set via xrdb.  Clients that have the no header hint set internally,
such as perfmeter, don't seem to have this problem.  

Any pointers would be appreciated.  

Sean N. Welch
Computer Science Undergraduate Association, University of California, Berkeley

smarks@trantor.Eng.Sun.COM (Stuart Marks) (01/05/91)

In article <1990Dec28.000047.23748@agate.berkeley.edu>,
welch@csua.berkeley.edu (Sean N. Welch) writes:
|> I've run across a
|> slight problem in resizing windows that have MinimalDecor. 
|> 
|> When you select a resize corner, instead of the rubberband surrounding 
|> the window, it appears as a vertical line on the opposite side of the
|> window, and upon release of the SELECT button, the window resized itself
|> to several times the width of the screen.  
|> 
|> Now this only happens on clients that have the MinimalDecor resource 
|> set via xrdb.  Clients that have the no header hint set internally,
|> such as perfmeter, don't seem to have this problem.  

This is a bug in olwm.  The problem is an uninitialized variable
(decorWidth) in the makeSpecial() function in winframe.c.  If you
fix the declaration to initialize decorWidth to zero, the problem
should go away.

Thanks to Robert Giovannucci <bobg@ll.mit.edu> for pointing
out this bug.

s'marks

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