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: X protocol error Date: Thu, 18 Aug 2022 10:30:11 +0800 Message-ID: <87edxep9l8.fsf@yahoo.com> References: <87wnb79nu7.fsf@yandex.com> <87mtc3oy8d.fsf@yahoo.com> <87sflvt130.fsf@yandex.com> <871qtf7xhe.fsf@gmail.com> <87sflu7wcz.fsf@gmail.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="9330"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Colin Baxter , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 18 04:32:24 2022 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 1oOVKa-0002JW-80 for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Aug 2022 04:32:24 +0200 Original-Received: from localhost ([::1]:35334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOVKY-00064T-Lo for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 22:32:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOVIh-0005Bs-MA for emacs-devel@gnu.org; Wed, 17 Aug 2022 22:30:27 -0400 Original-Received: from sonic311-25.consmr.mail.ne1.yahoo.com ([66.163.188.206]:39497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOVIf-0007sB-H8 for emacs-devel@gnu.org; Wed, 17 Aug 2022 22:30:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660789822; bh=DUUjpLt7vKO97s5JQuST9BwTVsUtZvF8zMO9afcbWIQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Avfgz7FObmcE58VWHXzVw+musKMLYOy8NgO5hRWhsZ2gTNy+0pPtlXBguSqE3F71KvTE+O4llrdGKyQXdG/bcd+HcRAN/AdKTQzBDjWHj7MZsmO/jyeJYz5ibpQNMnGU37F2iYc41uLAzvSiQ0a8ZNOxLBNeNU79tthjXjeEFL6aJAKdKppoHyVy6LaQYYrcamc6Cc+lSNEkRvmoKzKK/pbcmSOILYZTddytlZDkW8n/Jm9CuaMjdlJCTaWqF85qcMy1d6s1bzf0clx0C+I818X8FYE6ruYydsst/RfYJsncv/5wZ1NA2Db0Xfyob2512kSU8ZAQQyOA0OcFiGC0Ew== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1660789822; bh=dvgfYqo4rA42cbMqYk8zQ4tZvRuXmicB27+GVa0s4NN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Wy70tj7q8rH6PP0C2TtrjyA7H9Q0eMS4YAiuma0kuzHwZcCvX192Xfz5Ir3fwWS+xSszkATIHYlCtaiAgxaeN07zmwK0T7KS3Bc37XnNEXWGPizXfPDm/EBTS57n1wKexAzQluI5ZEUC6FId8K0RNiVnuFmP7UGiobsM0y1HsnJPuCo7x2CPYv5FQqyyiyBO49Nk6QoInWul5moBZsEFqCTGKlEiEx8BAV+/ProO/Kfwh8MKzZLWBZf0qEINxH2g1W7+3XbqZhz3WnO5/7iZX+N5YYkZKq6YF3dug7nxX1XWJdNb48znVJWY1aC/bFaRQoagotCpf6D7l3WJOxzc5A== X-YMail-OSG: qZdeyw0VM1kPKWQv6u3r7Wt_036bEodSiyV009r7Bv0AJC2TalLUFtX5BFdIufK YivDUlVMJx8Zr99IJM91IHCVHAb_aydC1AgLc.cpfBrHEFEeocFDuvnFIiAkkFCS6qlMG2M7IsNy 7QUJDx83k_5Q9S2mZdRgWbt3MiEkNxehnSskILHmcAxW87T5H9w2LHtOLqZ1Xya9p4Xa8SFSaSN1 rCqbfTny4Z9.IKClZaofEGQFHUOKgDIcxOq5sQ8_y8B3Zvx2dnjMs.t8_xjuxJUBAFf15x7FRYev 6Z.KxfzoDH3HsWWMAEdezX8HADEepB4wq6qxD3BhhPJTe0Ng1.X_yOuO9rid7U_bey9Wrq1V2qR1 60o6M0k3EDIOM7Q83akiPY4y8DLIl2TzGDowpMzjJL7YItnydpGuIxFWnTrx0oZNFlHpAODy_Can Q_0ENHmHcErGArwQBTJAdsWXPWCAc1vahsFa0pmV_m8ZUdY1JgaRMQPqNDLmE_bVOdipVoDUWcRu 9PTLoOvIiYzBrhyFbnfhCbsEL5tiP2w3le_Tb08kLno0AP8sVVZUTbmvnR5IpVpopHSF0eMerYIm cbLftZnyQnBZYeT7W.6pp.nK2HSizhxL4RkPqZQ_DucD1B5pQbLf3hP0WraIO7oeCKzMYzdw.3Mi Oxm4Inv2B3rSXs9hqphLR0kn1wLkuZw_IuctZvTNQuD3XjLf2GuN8hInlWmDMkiTRoJ1rTIWcjpW b2zSrUR5HpT9.kkp49Wjzmdvc3EmuLsnMhSaWdaad87GDRLYDVl1SM2zFsH2CbFsBiLMT6qZ3NJe UCTp9cxO81WiZYRaV6H8YJ37UceqB2hgAJTdQc_1rY X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Thu, 18 Aug 2022 02:30:22 +0000 Original-Received: by hermes--canary-production-sg3-6f58cd9b5-vlgxl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 708eaa1716e0f853c9f6c2d7037f431a; Thu, 18 Aug 2022 02:30:16 +0000 (UTC) In-Reply-To: <87sflu7wcz.fsf@gmail.com> (Robert Pluim's message of "Wed, 17 Aug 2022 16:55:40 +0200") X-Mailer: WebService/1.1.20560 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.188.206; envelope-from=luangruo@yahoo.com; helo=sonic311-25.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, T_SCC_BODY_TEXT_LINE=-0.01 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:293581 Archived-At: Robert Pluim writes: > BTW, this is bug#57261. The following fixes it for me: > > diff --git a/src/xterm.c b/src/xterm.c > index a40440e0da..a329ca59d0 100644 > --- a/src/xterm.c > +++ b/src/xterm.c > @@ -27654,6 +27654,8 @@ xi_select_hierarchy_events (struct x_display_info *dpyinfo) > memset (m, 0, l); > mask.mask_len = l; > > + mask.deviceid = XIAllDevices; > + > XISetMask (m, XI_PropertyEvent); > XISetMask (m, XI_HierarchyChanged); > XISetMask (m, XI_DeviceChanged); Right, thanks... In retrospect, that was pretty obvious. Now fixed on master.