[comp.windows.x] Minor nit with vtwm label patch

hrt@utne.cdad.dec.com (Henry R. Tumblin) (09/06/90)

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