From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: input-pending-p after make-frame-visible Date: Mon, 27 Sep 2021 21:57:48 +0300 Message-ID: <83czotluc3.fsf@gnu.org> References: <786eca99-bb42-c744-af26-b0435a745a81@gmx.at> <1d7cee7a-6137-609c-1400-f161dc8c860e@gmx.at> <2b2c2a7f-4c4a-a293-361e-86911e9f88b7@gmx.at> <276e1863-1110-3a71-7092-a62491d2d003@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6094"; mail-complaints-to="usenet@ciao.gmane.io" Cc: aaronjensen@gmail.com, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 27 20:58:51 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mUvpz-0001Lu-1N for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 20:58:51 +0200 Original-Received: from localhost ([::1]:51528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUvpx-0001le-4T for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 14:58:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvox-0000jv-Rn for emacs-devel@gnu.org; Mon, 27 Sep 2021 14:57:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39222) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUvox-00071F-85; Mon, 27 Sep 2021 14:57:47 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1194 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUvow-0002Zz-Ri; Mon, 27 Sep 2021 14:57:47 -0400 In-Reply-To: <276e1863-1110-3a71-7092-a62491d2d003@gmx.at> (message from martin rudalics on Mon, 27 Sep 2021 19:14:35 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275605 Archived-At: > From: martin rudalics > Date: Mon, 27 Sep 2021 19:14:35 +0200 > Cc: emacs-devel@gnu.org > > > Right, there is a 3rd window, but that's not how macOS works. I think > > I found how to do it though. If I minimize the messages frame, then > > eval the form, then minimize frame that and raise it, I do get a > > focus-out on that frame, with or without the patch. > > Which seems to indicate that the patch doesn't handle 'input-pending-p'. > I'm probably not of much help here - maybe Eli has an idea. I don't think I understand well enough what is the problem. It sounds like we have no idea what kind of event is received that causes input-pending-p return non-nil, is that right? Then the first thing we should do is understand which event is that, and try figuring out why we receive that event.