On Mon, Jul 05, 2004 at 11:15:20AM +0100, Tavis Ormandy wrote:
> >   Question number two: I report a bug (in my opinion it is a bug) about
> >   wrong behavior of WarpToWindow function.  Shortly: this function
> >   resets a viewport like GoToPage do it.  Can I to do something with it?
> >   Is there a workaround?  I can't find a simple solution (I plan to use
> >   CursorMove or something like it, but it is not a good solution).
> > 
> 
> I Think using CursorMove is a good solution, you could add some
> CursorMove to the function above to get pretty close to this behaviour!

To warp to the top left corner of a window without switching pages
you can use

  AddToFunc my_warptowindow
  + I WindowId root 0 WarpToWindow $[w.x]p $[w.y]p

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Attachment: pgp6NP6D8AUu7.pgp
Description: PGP signature

Reply via email to