Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!ncar!boulder!stan!ninja!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: small tvtwm patch Message-ID: <1990Sep6.190125.12372@Solbourne.COM> Date: 6 Sep 90 19:01:25 GMT Sender: news@Solbourne.COM Reply-To: toml@solbourne.com Organization: Solbourne Computer, Inc. Lines: 36 This unofficial patch fixes a problem that shows up when icon managers become empty, unmap themselves and then sometime later get remapped because a client of the appropriate class is created. Once again, I'll send out an official patch when I get more stuff to fix/add. You should be able to apply this patch no matter what patchlevel you're currently at. -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501 *** old/vdt.c Thu Sep 6 12:54:23 1990 --- vdt.c Thu Sep 6 12:54:29 1990 *************** *** 259,265 **** TwmWindow *tmp_win; { XUnmapWindow(dpy, tmp_win->frame); ! XUnmapWindow(dpy, tmp_win->w); if (tmp_win->virtualWindow && !tmp_win->sticky) XUnmapWindow(dpy, tmp_win->virtualWindow); } --- 259,266 ---- TwmWindow *tmp_win; { XUnmapWindow(dpy, tmp_win->frame); ! if (!tmp_win->iconmgr) ! XUnmapWindow(dpy, tmp_win->w); if (tmp_win->virtualWindow && !tmp_win->sticky) XUnmapWindow(dpy, tmp_win->virtualWindow); }