From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: mouse-autoselect-window raises frames Date: Wed, 10 Oct 2007 22:44:03 +0200 Message-ID: <470D3993.8040003@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1192049075 18508 80.91.229.12 (10 Oct 2007 20:44:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2007 20:44:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 10 22:44:34 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IfiPo-0008OM-4I for ged-emacs-devel@m.gmane.org; Wed, 10 Oct 2007 22:44:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfiPi-0005Jp-1F for ged-emacs-devel@m.gmane.org; Wed, 10 Oct 2007 16:44:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IfiP9-00051G-BG for emacs-devel@gnu.org; Wed, 10 Oct 2007 16:43:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IfiP7-00050a-C0 for emacs-devel@gnu.org; Wed, 10 Oct 2007 16:43:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IfiP6-00050D-VG for emacs-devel@gnu.org; Wed, 10 Oct 2007 16:43:40 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IfiP5-0007qf-Uj for emacs-devel@gnu.org; Wed, 10 Oct 2007 16:43:40 -0400 Original-Received: (qmail invoked by alias); 10 Oct 2007 20:43:38 -0000 Original-Received: from N809P004.adsl.highway.telekom.at (EHLO [62.47.45.4]) [62.47.45.4] by mail.gmx.net (mp041) with SMTP; 10 Oct 2007 22:43:38 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18lQgBoIWMlqijD5Wbf2nKd0tP5Pik+A4+BIcbI3x 221t86YlwUD5h4 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80534 Archived-At: > I started to see frames raised while I was just moving my mouse. > Placing `debug-on-entry' on `raise-frame' showed the problem to be: > > Debugger entered--entering a function: > * raise-frame(#) > select-frame-set-input-focus(#) > handle-select-window((select-window (#))) > call-interactively(handle-select-window nil nil) > > I think the problem is that handle-select-window shouldn't call > select-frame-set-input-focus. It should maybe call x-focus-frame instead. Would that really be less embarassing? What are the values of `mouse-autoselect-window' and `focus-follows-mouse' on your system?