emacs-devel
[Top][All Lists]
Advanced

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

Re: PATCH: focus follows mouse in C


From: Eli Zaretskii
Subject: Re: PATCH: focus follows mouse in C
Date: Sat, 09 Feb 2002 16:52:29 +0200

> From: address@hidden (Pavel =?iso-8859-2?q?Jan=EDk?=)
> Date: Sat, 09 Feb 2002 12:53:12 +0100
> 
> --- xterm.c.~1.703.~  Sun Jan 27 17:15:53 2002
> +++ xterm.c   Sat Feb  9 12:45:39 2002
> @@ -253,6 +253,15 @@

Ahem.. why is this only in xterm.c?  Is it just because this is a
prototype?  I mean, we surely want this for any version that supports
a mouse, including the Windows, the Mac, and the DOS ports, right?

And what about the tty version with xt-mouse or an equivalent?

> +  DEFVAR_BOOL ("x-autoselect-window", &x_autoselect_window_p,
> +    doc: /* *Non-nil means autoselect window with mouse pointer.  */);
> +  x_autoselect_window_p = 0;
> +
> +  DEFVAR_BOOL ("x-autoselect-always", &x_autoselect_always_p,
> +    doc: /* *Non-nil means always autoselect window with mouse pointer
> +even if user switched to different window.  */);
> +  x_autoselect_always_p = 0;

Isn't it better to have a single option which can be nil, t, or
something non-nil and not t?



reply via email to

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