[comp.windows.x] menuwm and right edge of Suns

poepping@sei.cmu.edu.UUCP (04/22/87)

Menuwm uses a transparent window for the target cursor on window selection
(when doing window operations from a menu).  That window was incorrectly
created as 1024x1024.  Since Suns are 1152x900, the right side gets messed
up.  The fix is to remove the magic numbers use the dimensions of the root
window.  Fix follows.. It will likely get to prang tomorrow.
Sorry for the confusion.
mark

% rcsdiff -r1.2 -r1.3 menuwm.c
RCS file: RCS/menuwm.c,v
retrieving revision 1.2
retrieving revision 1.3
diff  -r1.2 -r1.3
2c2
< static char *rcsid_uwm_c = "$Header: menuwm.c,v 1.2 87/04/02 18:20:27 poepping Rel $";
---
> static char *rcsid_uwm_c = "$Header: menuwm.c,v 1.3 87/04/22 13:49:50 poepping Exp $";
266c266,267
<     GlassWindow = XCreateTransparency(RootWindow,0,0,1024,1024);
---
> 
>     GlassWindow = XCreateTransparency(RootWindow,0,0,ScreenWidth,ScreenHeight);