[Patch] twm: add NoUnfocusOnLeave switch

Ed Schouten ed at fxq.nl
Wed Nov 21 14:35:47 PST 2007


* olafBuddenhagen at gmx.net <olafBuddenhagen at gmx.net> wrote:
> On Wed, Nov 21, 2007 at 09:31:57AM +0100, Ed Schouten wrote:
> 
> > One thing I like about TWM is the sloppy focus it supports. I've been
> > using window managers that support sloppy focussing for a couple of
> > years, but one thing I can't understand about TWM's way of doing it,
> > is that it also removes focus from a window when you drag the pointer
> > to the root window.
> 
> The policy originally used by TWM is actually "focus follows pointer";
> it's the most traditional policy for X environments.
> 
> Sloppy focus is what you implemented now: Similar to "focus follows
> pointer", except that the focus stays on the last window until a new one
> is activated -- that's why it is called sloppy :-)
> 
> Probably you should call your switch SloppyFocus.

Good point! I throught sloppy focus only referred to the fact that you
didn't have to click on a window to focus it. But indeed, Google
confirms it. I've attached a new version of the patch, which now names
this switch SloppyFocus. Thank you!

-- 
 Ed Schouten <ed at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twm-fixups.diff
Type: text/x-diff
Size: 5489 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071121/0773010c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20071121/0773010c/attachment.pgp>


More information about the xorg mailing list