From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: X protocol error Date: Wed, 17 Aug 2022 16:29:26 +0100 Message-ID: <87mtc2ubvt.fsf@yandex.com> References: <87wnb79nu7.fsf@yandex.com> <87mtc3oy8d.fsf@yahoo.com> <87sflvt130.fsf@yandex.com> <871qtf7xhe.fsf@gmail.com> <87sflu7wcz.fsf@gmail.com> Reply-To: m43cap@yandex.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="32520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: Po Lu , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 17 17:53:27 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 1oOLME-0008Go-Rk for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 17:53:26 +0200 Original-Received: from localhost ([::1]:50202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOLMD-0004RJ-AQ for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 11:53:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOKzC-0007dJ-Fm for emacs-devel@gnu.org; Wed, 17 Aug 2022 11:29:39 -0400 Original-Received: from forward501o.mail.yandex.net ([2a02:6b8:0:1a2d::611]:40586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOKz8-0003YH-7E for emacs-devel@gnu.org; Wed, 17 Aug 2022 11:29:36 -0400 Original-Received: from iva3-6d6b5ab252da.qloud-c.yandex.net (iva3-6d6b5ab252da.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:c19:0:640:6d6b:5ab2]) by forward501o.mail.yandex.net (Yandex) with ESMTP id 24A7D45C4A19; Wed, 17 Aug 2022 18:29:29 +0300 (MSK) Original-Received: by iva3-6d6b5ab252da.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id cSGvAUtyNt-TSi8nxId; Wed, 17 Aug 2022 18:29:28 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1660750168; bh=UF9QUUFEDrc62M5hLptnKFVQqfCeGPHa2crlHZYnFK8=; h=Message-ID:References:Date:Reply-To:In-Reply-To:Cc:To:Subject: From; b=bkO17MiisiqMWHxolkp+/7fqyserhgf6HUMUlwbNcVo1ZtVIfi9jDyLSLw+UzQQ/9 gZ5UQEdchWU/feSXf9r3gkzJRgZZBOQ8j7NqJSgFevuDWLBBLaycsb3UtT2KCl8Ltb dHlZanNYomYRyVjPYsIoWadsOfgd4jUkzIgP8mNc= Authentication-Results: iva3-6d6b5ab252da.qloud-c.yandex.net; dkim=pass header.i=@yandex.com X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87sflu7wcz.fsf@gmail.com> (Robert Pluim's message of "Wed, 17 Aug 2022 16:55:40 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:0:1a2d::611; envelope-from=m43cap@yandex.com; helo=forward501o.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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:293568 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); I can confirm that your patch works for me too. Thank you. Best wishes,