Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!uw-beaver!stehekin.cs.washington.edu!whj
From: whj@stehekin.cs.washington.edu (Warren Jessop)
Subject: Autoraise delay in twm?
Message-ID: <1991May21.183741.23856@beaver.cs.washington.edu>
Sender: news@beaver.cs.washington.edu (USENET News System)
Reply-To: whj@stehekin.cs.washington.edu (Warren Jessop)
Organization: Northwest Lab for Integrated Systems
Date: Tue, 21 May 91 18:37:41 GMT

The patches described below have been put on the following anonymous
ftp sites:

      shrimp.cs.washington.edu, in pub/twm.raisedelay.patch.Z
      export.lcs.mit.edu, in contrib/twm.raisedelay.patch.Z

These patches to twm modify the AutoRaise feature by adding a
a new "variable," RaiseDelay.  RaiseDelay is (approximately) the
number of milliseconds that the pointer should remain at rest before
the window it's in is raised.  The default is 0, so adding these
patches will not affect the way twm operates unless you add a

   RaiseDelay <milliseconds>

to your .twmrc file and <milliseconds> is greater than 0.  400
milliseconds works well.

Using twm with AutoRaise and RaiseDelay allows you to "skip over"
windows you don't want raised while moving the pointer to one you do
want raised.

There is one additional tiny change:  You can specify AutoRaise with
no modifiers, which indicates that you want *all* windows raised, not
just a bracketed list.

The patches are based on MIT X11R4 with fixes 1-18 applied.  They have
also been applied successfully (but by hand) to vtwm.

If anyone's interested I also have RaiseDelay patches for olwm.

     Warren Jessop, University of Washington, whj@cs.washington.edu


