From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: PATCH: focus follows mouse in C Date: Thu, 7 Feb 2002 07:56:45 -0700 (MST) Message-ID: <200202071456.g17EujV04572@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013094348 16444 195.204.10.66 (7 Feb 2002 15:05:48 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 7 Feb 2002 15:05:48 GMT Cc: 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 16Yq7Q-0004H8-00 for ; Thu, 07 Feb 2002 16:05:48 +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 16YpzG-0001Xt-00; Thu, 07 Feb 2002 09:57:22 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16Ypyg-0001Rf-00; Thu, 07 Feb 2002 09:56:46 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id HAA13477; Thu, 7 Feb 2002 07:56:45 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g17EujV04572; Thu, 7 Feb 2002 07:56:45 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: Pavel@Janik.cz 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:846 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:846 + if (x_autoselect_window_p) + { + int area; + Lisp_Object window; + + window = window_from_coordinates (frame, XINT (event->x), XINT (event->y), &area, 0); + + if (WINDOW_LIVE_P (window) && !MINI_WINDOW_P (XWINDOW(window))) + Fselect_window(window); + } + It looks like this selects the window on every motion of the mouse. That may be what you don't like. Maybe it should select the window only when the mouse moves into a different window. Also, it seems to be completely unwilling to select a minibuffer window. When the minibuffer is active, it should be selectable like any other window. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel