From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: PATCH: focus follows mouse in C Date: Sat, 09 Feb 2002 16:52:29 +0200 Message-ID: <5137-Sat09Feb2002165228+0200-eliz@is.elta.co.il> References: <200202071456.g17EujV04572@aztec.santafe.edu> <200202082324.g18NON305738@aztec.santafe.edu> <6480-Sat09Feb2002120145+0200-eliz@is.elta.co.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013267210 14631 195.204.10.66 (9 Feb 2002 15:06:50 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 9 Feb 2002 15:06:50 GMT Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ZZ5V-0003nt-00 for ; Sat, 09 Feb 2002 16:06:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZYw7-0001cw-00; Sat, 09 Feb 2002 09:57:07 -0500 Original-Received: from mirapoint.inter.net.il ([192.114.186.20]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZYtK-0001QS-00; Sat, 09 Feb 2002 09:54:14 -0500 Original-Received: from zaretsky (diup-221-180.inter.net.il [213.8.221.180]) by mirapoint.inter.net.il (Mirapoint) with ESMTP id BER81840; Sat, 9 Feb 2002 16:53:37 +0200 (IST) Original-To: Pavel@Janik.cz X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (Pavel@Janik.cz) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:919 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:919 > From: Pavel@Janik.cz (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? _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel