From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#11566: 24.0.97; `read-from-minibuffer': focus to standalone minibuffer frame? Date: Tue, 29 May 2012 18:44:34 +0300 Message-ID: <838vgb2dr1.fsf@gnu.org> References: <6A40227DCFBF427491B710A473E45744@us.oracle.com> <4FC22A8D.6040801@gmx.at> <8D43F91B0096402A9BCA59FE13513358@us.oracle.com> <4FC49A24.7000403@gmx.at> <96A3CCDD100E49C6ACF2739484C9239A@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1338306296 29362 80.91.229.3 (29 May 2012 15:44:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 May 2012 15:44:56 +0000 (UTC) Cc: 11566@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 29 17:44:54 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZObL-00035o-Jg for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2012 17:44:51 +0200 Original-Received: from localhost ([::1]:39355 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZObL-0001J7-92 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 May 2012 11:44:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZObD-0001Iv-GO for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 11:44:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZOb8-0004Ug-Ja for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 11:44:43 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39015) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZOb8-0004Uc-GL for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 11:44:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SZOcT-0007nD-Pl for bug-gnu-emacs@gnu.org; Tue, 29 May 2012 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 May 2012 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11566 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11566-submit@debbugs.gnu.org id=B11566.133830636029948 (code B ref 11566); Tue, 29 May 2012 15:46:01 +0000 Original-Received: (at 11566) by debbugs.gnu.org; 29 May 2012 15:46:00 +0000 Original-Received: from localhost ([127.0.0.1]:48561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZOcS-0007mz-G6 for submit@debbugs.gnu.org; Tue, 29 May 2012 11:46:00 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:54457) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SZOcQ-0007mm-7E for 11566@debbugs.gnu.org; Tue, 29 May 2012 11:45:59 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M4S00600JNGKY00@a-mtaout21.012.net.il> for 11566@debbugs.gnu.org; Tue, 29 May 2012 18:44:28 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M4S006FVJQ352B0@a-mtaout21.012.net.il>; Tue, 29 May 2012 18:44:28 +0300 (IDT) In-reply-to: <96A3CCDD100E49C6ACF2739484C9239A@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60461 Archived-At: > From: "Drew Adams" > Date: Tue, 29 May 2012 07:12:26 -0700 > Cc: 11566@debbugs.gnu.org > > (That a window manager can accept input passed to a frame that is not on top in > the stacking order is not exceptional. That is (was, at least) true for many w. > mgrs on UNIX, where you could even change the input focus without changing the > stacking order ("foreground") just by moving the mouse over a lower frame.) "Stacking order" and "foreground" are 2 different things. As I wrote earlier, a "foreground" window/frame is the window that has focus and gets the keyboard input. It doesn't have to be on the top of the Z-order. > > (let ((old-frame (selected-frame)) > > (new-frame (make-frame))) > > (redirect-frame-focus new-frame old-frame)) > > That puts (keeps) the input focus in old-frame. So it seems to work as it > should. No, it keeps focus in new-frame, but makes it so the input you type at new-frame gets sent to old-frame. Thus, this: > (But new-frame has its title and border highlighted as if it had the focus. > Somehow there is a disconnect between the two. is normal and expected behavior (AFAIU).