toml@ninja.Solbourne.COM (Tom LaStrange) (09/07/90)
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); }