Article View: comp.windows.x
Article #25056(none)
From: Timothy.Freeman
Date: Fri, 06 Mar 1987 22:55
Date: Fri, 06 Mar 1987 22:55
31 lines
1572 bytes
1572 bytes
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
Technical Details
Message-ID:
<1987.3.6.22.53.42.Timothy.Freeman@theory.cs.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!husc6!bacchus!mit-eddie!genrad!decvax!ucbvax!THEORY.CS.CMU.EDU!Timothy.FreemanShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!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