Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!rochester!pt.cs.cmu.edu!sei!sei.cmu.edu!poepping From: poepping@sei.cmu.edu.UUCP Newsgroups: comp.windows.x Subject: menuwm and right edge of Suns Message-ID: <1099@aw.sei.cmu.edu> Date: Wed, 22-Apr-87 14:36:36 EST Article-I.D.: aw.1099 Posted: Wed Apr 22 14:36:36 1987 Date-Received: Fri, 24-Apr-87 02:52:07 EST References: <45@decvax.UUCP> Sender: netnews@sei.cmu.edu Reply-To: poepping@v.sei.cmu.edu.UUCP (PUT YOUR NAME HERE) Distribution: world Organization: Carnegie-Mellon University, SEI, Pgh, Pa Lines: 22 Keywords: uwm menuwm (Should there be a womenuwm?) Summary: It's a bug 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);