[comp.windows.x] Anyone ever write a "slave pointer" for X?

daniel@island.uu.net (Daniel Smith "fast screens, loud music, slow car") (11/28/90)

	At the moment, I'm editing one source file while looking at another
(which has the exact same flow, just small differences on some lines).
The windows are side by side:

   +--------------------+ +--------------------+
   |                    | |                    | 
   |   using an editor  | |   using a pager    | 
   |                    | |                    | 
   |   to edit source   | |   to see my        | 
   |                    | |                    | 
   |   for hp           | |   example for sun  | 
   |                    | |                    | 
   |                    | |                    | 
   +--------------------+ +--------------------+

	what I could really use right now is a "slave pointer"
in the right window, it would track the real pointer in the left window.
I'm using a smaller font than I would usually, to get the windows
on the screen side by side (1152 wide..Sparc 1+).  I'm constantly
comparing lines in the files, so I'm looking back and forth.

	I envision that the slave pointer would work like this:

	There would be a small icon for the program, you would click
on it, and get a slave pointer to drag to some starting position.  You
would let up, the slave pointer would stay at the current pointer
position on the screen.  You would then move the real pointer
to some other spot on the screen relative to slave pointer, and click
once...at that point the slave pointer will track along with the
real pointer.  I suppose that clicking again on the slave pointer
icon would "put it away", so that you could define a new relationship
or simply turn it off.  Naturally, the slave pointer should use a different
glyph than the real one, to avoid confusion.

	Hope this is out there!  Wish I had time to figure it out right
now, but I am *swamped*.

				Daniel
-- 
.......Daniel Smith, Island Graphics, daniel@island.com dansmith@well.sf.ca.us
..(415)491 0765 x 250 (W) 4000 CivicCenterDrive SanRafael MarinCounty CA 94903
.disclaimer: If I don't write these things, Island will take away my coffee.
Time ain't on your side/don't sit idly by/You've got to just try -Living Color