[comp.windows.x] tvtwm crashes and a patch

toml@ninja.Solbourne.COM (Tom LaStrange) (08/30/90)

I recieved this patch that fixes a tvtwm crash.  This is one of those
times where you say, "How did this EVER work"

An official patch will come out when I get more stuff to fix.

--
Tom LaStrange

Solbourne Computer Inc.    ARPA: toml@Solbourne.COM
1900 Pike Rd.              UUCP: ...!{boulder,sun}!stan!toml
Longmont, CO  80501




*** vdt.c~	Thu Aug 30 14:26:08 1990
--- vdt.c	Thu Aug 30 15:27:22 1990
***************
*** 576,582 ****
      XGrabButton(dpy, Button3, AnyModifier, Scr->Panner,
  	True, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
  	GrabModeAsync, GrabModeAsync, Scr->Panner, None);
!     XSetWMProperties(dpy, Scr->Panner, wName, iName, NULL, 0,
  	sizeHints, wmHints, classHints);
  
      if (Scr->PannerState != WithdrawnState)
--- 576,582 ----
      XGrabButton(dpy, Button3, AnyModifier, Scr->Panner,
  	True, ButtonPressMask | ButtonReleaseMask | ButtonMotionMask,
  	GrabModeAsync, GrabModeAsync, Scr->Panner, None);
!     XSetWMProperties(dpy, Scr->Panner, &wName, &iName, NULL, 0,
  	sizeHints, wmHints, classHints);
  
      if (Scr->PannerState != WithdrawnState)