From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: input-pending-p after make-frame-visible Date: Mon, 4 Oct 2021 18:12:17 -0400 Message-ID: References: <83wnmwd3wo.fsf@gnu.org> <6c69780538e1957d1002@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36147"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Aaron Jensen , Gregory Heytings , martin rudalics , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 05 00:13:41 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 1mXWDL-00092D-8F for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Oct 2021 00:13:39 +0200 Original-Received: from localhost ([::1]:36120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXWDI-0008Er-W9 for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Oct 2021 18:13:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXWCH-0007Uo-Ly for emacs-devel@gnu.org; Mon, 04 Oct 2021 18:12:33 -0400 Original-Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:46004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXWCF-0000TM-Eh; Mon, 04 Oct 2021 18:12:33 -0400 Original-Received: by mail-pl1-x62a.google.com with SMTP id n2so871807plk.12; Mon, 04 Oct 2021 15:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=OJJjX4X+qn+b+eV495Inj2hjoVdgdrLTdmFBIgKglvs=; b=AE6q6H8d9aa3E+TCU0ZEY6h8cS5qnon7N/Bp+lSW2/734tZqNLtzRCfY8xRx9+Ucqr JzEzxUXga1jijJAowmtfWdRTgHd8bK6cL23Q4248YY50Q4G7zT9wX1SLikkoAd6hNCTC hOVw7LGx23wAXCFOlLP7HT/opxPvZ7MYZd+TJT+kxDwOs5stIq1US7ApKYow9+qksDwM HZllsNOq2D2vMfB1q9GScRdcJdkhivMOLW3Rgum/lFfgQv0UHe3d7jQWB+JhQRXZs/ii XbbwPH+JDGJyeUysdYV9aE68F/fUBUhKJE+nEA4gS9W2vdK4u86ogBUUkClNbbN2yg/I Fd5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OJJjX4X+qn+b+eV495Inj2hjoVdgdrLTdmFBIgKglvs=; b=Q0qMzikuHzXcBWArM6y9kW7swgw/nRWi0cqh3htHp1+biRHGZ0snJQFxfPJGCkLlw5 4EdjyUOwuj68DIflQzrZ4s8mhcEfmW0IEsUFx4s35Z3jjjefVZp4wqrU7xvx8nSyvG69 VurOEPBVI9cN3D3NpJCUBawqjR/Mdqe9NyR9WHmpr+dcmLKgLiNvDIa0zTw9nbXm5c6y ItSnt2MGO0JAAEYBpLr/JQpnWGl+91dcj6198oDwICItD7YY/GGQ7kpmOTsDX5dR9Y5D Bptz8g0VyFzY2FVdVFbAoM/3RNfjgi+DW+GBk0jgjVQzD/xO2vLFjCol8wQsfGnCJYVB dF+Q== X-Gm-Message-State: AOAM530WHpm9EvOu40gzlVxqORFWI7TKJdKIXVctxX5FsIOJeSlg/256 T8yR6+uFjW05bzrq6/P6Pr8asG0ooNq9zK17rGM= X-Google-Smtp-Source: ABdhPJwUOt09Mu+hGnBDCxtSi1azErVbv9Kw6PqBmd3wSoFioKAnWGFGstdwNWwQ7uta91qpWWel/aBjGcWilLBK3VU= X-Received: by 2002:a17:903:2403:b0:13d:cef7:61f1 with SMTP id e3-20020a170903240300b0013dcef761f1mr1909779plo.48.1633385549037; Mon, 04 Oct 2021 15:12:29 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=aaronjensen@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:276276 Archived-At: On Mon, Oct 4, 2021 at 4:38 PM Alan Third wrote: > > Does this do anything: > > modified src/nsterm.m > @@ -7048,6 +7048,7 @@ - (void)windowDidResignKey: (NSNotification *)notification > XSETFRAME (frame, emacsframe); > help_echo_string = Qnil; > gen_help_event (Qnil, frame, Qnil, Qnil, 0); > + any_help_event_p = NO; > } > > if (emacs_event && is_focus_frame) > > ? Not as far as I can tell. Can you reproduce it with Martin's patch? Aaron