ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] [PATCH] Turn off pointer warping


From: Shawn Betts
Subject: Re: [RP] [PATCH] Turn off pointer warping
Date: Thu Nov 21 03:57:09 2002
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Jonathan Walther <address@hidden> writes:

> On Wed, Nov 20, 2002 at 01:07:48AM -0800, Shawn Betts wrote:
> >Tim Goodwin <address@hidden> writes:
> >
> >> Here's a trivial patch that adds commands `warp off' to turn off
> >> pointer warping, and `warp on' to turn it back on again.
> >> My motivation was twofold.
> >> [SNIP]
> >> Enjoy,
> >
> >Thanks Tim. I've applied the patch to CVS. This was starting to
> >irritate me too :). I've put you in the AUTHORS file.
> 
> Pointer warping is almost always the right thing to do; the only
> circumstances where it isn't the right thing seem to be when you are
> switching to another frame.

Pointer warping is a bit confusing and sort of experimental. So I
think it is reasonable to add a feature that turns it off.

> Ratpoison is supposed to manage our windows for us, remember?  Could you
> add a setting to try out a version of warp that only warps when you
> change windows within a frame, but not when you switch focus to another
> frame?

All this rat frobbing business is a bit hairy. I'm already regretting
adding it in the first place. There are more problems than just
that. If you have a full screen frame with emacs in it and the mouse
is sitting somewhere on the screen, you switch to your xterm and move
around the mouse, then split the frame and switch back to emacs. The
rat is now in the position it was in when you were using emacs but the
frame is split, so the rat's position doesn't really make sense given
that emacs isn't full screen anymore.

So perhaps a better solution is not to frob the rat when there is more
than one frame.

> I worry that now we have frames, we're going to run into the old
> sloppy-focus, focus-follows-mouse, and click-to-focus issues that have
> beset every other window manager under the sun.

Ratpoison is a keyboard controlled window manager, how would it have
the same problems rat based ones would have?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]