Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!REMUS.EE.BYU.EDU!jlol From: jlol@REMUS.EE.BYU.EDU (Jay Lawlor) Newsgroups: comp.windows.x Subject: Auto nail down for Virtual TWM Message-ID: <9008132244.AA14523@ucbvax.Berkeley.EDU> Date: 13 Aug 90 22:41:29 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: jlol@ee.byu.edu Organization: BYU EE dept. Lines: 61 I got vtwm this morning from expo. One of the first things I wanted was to have some things nailed down at startup time. I noticed that someone else requested this the other day. It was a pretty simple to implement so I did it. I don't know if this is really the place to post the changes but it is so short I don't think anyone will mind. The diffs between what I got from expo.lcs.mit.edu and my version follow. I don't know if they are in the correct format for patch or not. One note of caution: there seems to be a missing dependency in the makefile (I didn't track it down) because when I recompiled without removing .o files it messed up some of my colors in the virtual desktop window. Recompiling the whole thing cleared it up. Anyway, you can now add something like StartNailed { "Virtual Desktop" "xbiff" } to your .twmrc so you don't have to nail them down by hand. Hope this is useful. If I should have posted this somewhere else, sorry. ----------------------------------------------------------------------------- add_window.c 267a268,270 > if (LookInList(Scr->StartNailed, tmp_win->full_name, &tmp_win->class)) > tmp_win->nailed = TRUE; > gram.y 87c87 < %token START_ICONIFIED NO_TITLE_HILITE TITLE_HILITE --- > %token START_ICONIFIED START_NAILED NO_TITLE_HILITE TITLE_HILITE 192a193,194 > win_list > | START_NAILED { list = &Scr->StartNailed; } parse.c 553a554 > { "startnailed", START_NAILED, 0 }, screen.h 186a187 > name_list *StartNailed; /* windows to start nailed */ twm.c 294a295 > Scr->StartNailed = NULL; 545a547 > FreeList(&Scr->StartNailed); ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- Jay Lawlor | Systems Manager, Supercomputer Center | I think there is a world market for 459 Clyde Building | about five computers -- Thomas J. Brigham Young University | Watson, CEO, IBM Corporation, 1947 Provo, UT 84602 | jlol@ee.byu.edu | -----------------------------------------------------------------------------