Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!decwrl!bacchus.pa.dec.com!rust.zso.dec.com!shlump.nac.dec.com!ryn.esg.dec.com!muhthr.dec.com!utne.cdad.dec.com!hrt From: hrt@utne.cdad.dec.com (Henry R. Tumblin) Newsgroups: comp.windows.x Subject: Minor nit with vtwm label patch Keywords: vtwm Message-ID: <1990Sep5.171850@utne.cdad.dec.com> Date: 5 Sep 90 21:18:50 GMT Sender: news@muhthr.dec.com Reply-To: hrt@utne.dec.com Organization: Dec Cmos Design A/D Lines: 39 Nntp-Posting-Host: utne.cdad.dec.com I installed the patch by Orest Jarosiewicz to turn on labels in the virtual desktop and found that the labels had the colors from the title box instead of the icon. The following (unofficial) patch uses the color specified for the icon instead: *** events.c.orig Wed Sep 5 17:16:50 1990 --- events.c Wed Sep 5 17:17:18 1990 *************** *** 1075,1083 **** if(w -> VirtualDesktopDisplayWindow == Event.xany.window){ /* FBF(Scr->DefaultC.fore, Scr->DefaultC.back,*/ /* Scr->DefaultFont.font->fid);*/ /**/ ! FBF(w -> title.fore, w -> title.back, Scr -> IconFont.font -> fid); if(w -> icon_name) XDrawImageString(dpy, Event.xany.window, Scr -> NormalGC, 0, Scr -> IconFont.height, --- 1075,1083 ---- if(w -> VirtualDesktopDisplayWindow == Event.xany.window){ /* FBF(Scr->DefaultC.fore, Scr->DefaultC.back,*/ /* Scr->DefaultFont.font->fid);*/ /**/ ! FBF(w -> iconc.fore, w -> iconc.back, Scr -> IconFont.font -> fid); if(w -> icon_name) XDrawImageString(dpy, Event.xany.window, Scr -> NormalGC, 0, Scr -> IconFont.height, -- -- Henry R. Tumblin CDAD Digital Equipment Corporation HLO2-3/J03 225-4845(dtn), 508-568-4845(external) Internet: hrt@utne.dec.com uucp: ...!decwrl!utne!hrt enet: utne::hrt