Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!bacchus!mit-eddie!genrad!decvax!ucbvax!THEORY.CS.CMU.EDU!Timothy.Freeman From: Timothy.Freeman@THEORY.CS.CMU.EDU Newsgroups: comp.windows.x Subject: (none) Message-ID: <1987.3.6.22.53.42.Timothy.Freeman@theory.cs.cmu.edu> Date: Fri, 6-Mar-87 17:55:29 EST Article-I.D.: theory.1987.3.6.22.53.42.Timothy.Freeman Posted: Fri Mar 6 17:55:29 1987 Date-Received: Sun, 8-Mar-87 10:37:43 EST Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 31 The current distribution of uwm draws lines in some very peculiar places when you have zap turned on and you try to deiconify a window. The problem is that uwm neglects to calculate the width of the border of the icon; the resulting uninitialized variable usually has a sufficiently large value to totally screw up the calculation of where the lines should go. Here's a fix: *** OldIconify.c Fri Mar 6 17:36:16 1987 --- NewIconify.c Fri Mar 6 17:36:17 1987 *************** *** 216,221 icon_y = assoc_info.y; icon_w = assoc_info.width; icon_h = assoc_info.height; } if (Zap) { --- 216,222 ----- icon_y = assoc_info.y; icon_w = assoc_info.width; icon_h = assoc_info.height; + icon_bdr = assoc_info.bdrwidth; } if (Zap) { Tim Freeman Arpanet: tsf@theory.cs.cmu.edu Uucp: ...!seismo!theory.cs.cmu.edu!tsf