From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Possible XInput2 cursor bug ? Date: Wed, 08 Dec 2021 09:27:34 +0800 Message-ID: <87ilvzga2h.fsf@yahoo.com> References: <87v90wmh6m.fsf.ref@yahoo.com> <87v90wmh6m.fsf@yahoo.com> <87a6i7le2u.fsf@yahoo.com> <83wnlau371.fsf@gnu.org> <83h7cetvso.fsf@gnu.org> <87y25q2rj8.fsf@yahoo.com> <87sfvy2knz.fsf@yahoo.com> <87fsry2fax.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 08 02:28:45 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 1mullE-0002F7-Hl for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 02:28:44 +0100 Original-Received: from localhost ([::1]:40386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mullD-0000Va-4J for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 20:28:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mulkM-0008An-0N for emacs-devel@gnu.org; Tue, 07 Dec 2021 20:27:50 -0500 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:45799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mulkJ-0008ES-Eq for emacs-devel@gnu.org; Tue, 07 Dec 2021 20:27:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638926865; bh=yfy4ivAN0TOa01da7LQG2oFsjFmvsvgF5PD8EhwoIAM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=PePpzRmm2CA366gTAKPjpGpOR2v+lLJptvXCjKZEQd9eOXhbAYhyAOKmVXQ0L5yJISdz1tvCtR6zQv7UFohisuVqsNrqMsEKgkxEHuU+P+TL+KfDaIAyOJg87N5rPKIB0vni6CgkkMl7rp+YfS6bOO3BQSk7l+vMLuF8cNdPT/dtlirNAYsg/mMh/6UYSU4X7ZzT9pqwr5z76CAqeVF8mirndgOskb0Ml1YkFvW1q4z8Nk134HHPPnsnzDStS1c6xw4u/2SfE+N0fPVAvsxN56tB1+arHE0pefrUxzZ8ll6z5c4xctA1ds7m4zlxLE+h0GSiyjdZVCRw4YP9m/ze0Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638926865; bh=m0xT1M2pITT30ma4MGfPTEN8iQa27DIt0kVU9auI9QX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=j8lf/ndnk41JN/zEbm/goKpS9GVByTMVYw1I252kBHgRnYTgGEBTq/edL8cuNHE6+rMa1vz4UTOKNuxgjfyKh83sSur7jO6AT8PPqvRms3eJTKZmyiw0NSbXGTSC8rf5v9SOfwHKs8Qm0SMB7AofgjtkAjojYvZRVUwPxlcEkbSgMfG5b0+WC8oayo5p1ZDKB/OBKtWIPOkl5SrRsq5Uw4okmI6ye+VyCksvb+a9nvbmeSG6++MEjA3HCKeL/y9gD+4ieDp/MjW2XDayvYb+FoGfzXe+fFbXo2VLqffIEV9NdMNhB+5HH9UZOjEbmcZ3AIXowY8ea/RkMCFUP/UVkQ== X-YMail-OSG: 32_8lJIVM1nSBJI2SbF.7uhPowgqd48wLZvGcbf_lS14lhVLpIPX_UUcA2ZfjwG mgM284F_HIVF2i5EeWZHix7iNbMEat5VbwAOGXbLCxYJvXLBRVCWJQRXCQdC0IUJyYOCDUQa0SCS 2PJR4zzZHAflND5b_nqKk8P..BadnM.w5kG02aivmYpvaE6TTtAPVqDxJS1xKQ3aq3ub5E1vEqB5 yTb_z7Oa2xIk6ZefMXa5QC96S7r0NEANBPRIIvwS.lVEf0imbALG6U8L6S1sPQjllRGt2nS6ObW. oaYHujv066zZc6s2yFD0Op_pbN7eOMfNjAxHo3CfEpGw_eqER9qEguo0UBgGv6j23wZuEvZgwT_0 KBQY9hP1JVRDlO4v_pQ1vqJjH_TqKKsvt72D.Y1Au5LmU1p5TDBYv5AWkeZl4br7ESYgDDYeeNKh t0QV0I4tHHkIsodbZWLcbZnrNWHj1O.x2A4NyWQUp8gUsIj.at.V5SJNTI3QjooURCm9nGpHddeW 1GEICE7FMizYrAXTjwbxY.gPE.Q9pjZgcUFOfzKfOjGnbuzozxY558D9SDSuzEHTSVQGrUDEGof0 Oevvz5Fdty7SJoWVbuCs7kppqfCRnFwZ8zD5jGMYAihQNQW9RzOzmPI6vLF9xkvw_TMLJiJoORDx IdNmmmmWZQ98XqK1nsjw7gKiRnEA0mVjU65HAzcLgwC3GewLlaWo4gTcc2Og4HmkkrJhV1jNVkZ5 _D4N3Y8F63S0YApK.9ZOIUT.39wvPVJy7EBhh2l00XknpN8dwGG.8ryCR_CLWw4AtoCpLPdWDkei .vkaOFwAU8IXmWaVWiQ0w8NMUmkn6mn3O4rdkBSRrY X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 8 Dec 2021 01:27:45 +0000 Original-Received: by kubenode519.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 54d93f642d37d4615dd455c9cf3dc1b3; Wed, 08 Dec 2021 01:27:39 +0000 (UTC) In-Reply-To: (Madhu's message of "Tue, 07 Dec 2021 22:53:35 +0530") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.148; envelope-from=luangruo@yahoo.com; helo=sonic305-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, 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, RCVD_IN_MSPIKE_H2=-0.001, 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.29 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:281299 Archived-At: Madhu writes: > When reading gnus with a recent emacs > configure -C --with-x-toolkit=athena --without-native-compilation > --with-xinput2 > If I select a line on the summary buffer, to display the article buffer, > the block cursor disappears and the cursor becomes hollow (as if it were > a cursor in an inactive buffer). The focus is still in the summary > buffer though. > I think This sort of thing happens even outside gnus but perhaps someone > with an xinput2 build and gnus can verify if this is happening, I > rebuilt --without-xinput2 and don't see the problem. First the important question: what window manager are you using (is it GNOME Shell), and are you using Xwayland? Secondly, please put a breakpoint on this part of xterm.c: /* Some WMs (e.g. Mutter in Gnome Shell), don't unmap minimized/iconified windows; thus, for those WMs we won't get a MapNotify when unminimizing/deconifying. Check here if we are deiconizing a window (Bug42655). But don't do that on GTK since it may cause a plain invisible frame get reported as iconified, compare https://lists.gnu.org/archive/html/emacs-devel/2017-02/msg00133.html. That is fixed above but bites us here again. */ f = any; if (f && FRAME_ICONIFIED_P (f)) { SET_FRAME_VISIBLE (f, 1); SET_FRAME_ICONIFIED (f, false); -> f->output_data.x->has_been_visible = true; inev.ie.kind = DEICONIFY_EVENT; XSETFRAME (inev.ie.frame_or_window, f); } And see if that part is called when you select such a line in the summary buffer. Thanks.