Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!uunet!ncrlnk!ncr-mpd!ncr-fc!stevebe From: stevebe@ncr-fc.ncr.com (Steve.Beaty) Newsgroups: comp.windows.x Subject: a patch for tvtwm's segmenting Message-ID: <519@ncr-mpd.FtCollins> Date: 30 Aug 90 15:48:40 GMT Sender: uucp@ncr-mpd.FtCollins Reply-To: stevebe@ncr-fc.ncr.com (Steve.Beaty) Organization: none, you should see my desk... Lines: 32 well, i had a little problem with tvtwm in that it segmented when i first ran it. i used gcc to find a little gotcha in vdt.c. here is the diff if you run into this problem: ------- vdt.c ------- *** /tmp/da5586 Thu Aug 30 09:43:44 1990 --- vdt.c Thu Aug 30 09:35:26 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) Steve Beaty Steve.Beaty@ftcollins.ncr.com Advanced CAD beaty@longs.lance.colostate.edu NCR Microelectronics (303) 226-9622 (palinphone) "What You See Is What You Get, but it sure ain't what we need." - Talking Heads