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: Thu, 18 Aug 2022 07:01:50 +0100 Message-ID: <87ilmq3x9t.fsf@yandex.com> References: <87wnb79nu7.fsf@yandex.com> <87mtc3oy8d.fsf@yahoo.com> <87sflvt130.fsf@yandex.com> <871qtf7xhe.fsf@gmail.com> <87sflu7wcz.fsf@gmail.com> <87edxep9l8.fsf@yahoo.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="37792"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: Robert Pluim , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 18 08:05:03 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 1oOYeM-0009Zg-5i for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Aug 2022 08:05:02 +0200 Original-Received: from localhost ([::1]:53856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOYeL-0001uW-0i for ged-emacs-devel@m.gmane-mx.org; Thu, 18 Aug 2022 02:05:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOYbh-0000mO-LY for emacs-devel@gnu.org; Thu, 18 Aug 2022 02:02:21 -0400 Original-Received: from forward503p.mail.yandex.net ([2a02:6b8:0:1472:2741:0:8b7:122]:54506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOYbe-0005QD-Ev for emacs-devel@gnu.org; Thu, 18 Aug 2022 02:02:17 -0400 Original-Received: from sas2-ffeb92823cb1.qloud-c.yandex.net (sas2-ffeb92823cb1.qloud-c.yandex.net [IPv6:2a02:6b8:c08:6803:0:640:ffeb:9282]) by forward503p.mail.yandex.net (Yandex) with ESMTP id 293C31101FE0; Thu, 18 Aug 2022 09:01:52 +0300 (MSK) Original-Received: by sas2-ffeb92823cb1.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id VrH8msbdFr-1phCoh55; Thu, 18 Aug 2022 09:01:52 +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=1660802512; bh=5k7qYOR0xT4MPuFutFDs+7myxhGtztw/BBPotLsc3JY=; h=Message-ID:References:Date:Reply-To:In-Reply-To:Cc:To:Subject: From; b=RRBlQpUeSiDDxSUsa8jRnslRd6NbiitVHrm8FWSvt4fRjpO2JsaIvrPD7z8c0j/nz sQfxkmlJtJnXz1FkRGBo5tKMSkzF7Hkn7P/cFE1rVJWU3huWtfl0Bk1rQgNqK8Aefx erkZwUj4xcyRUaWl90peDZkq4Pk7hJ/8AeyoMCcE= Authentication-Results: sas2-ffeb92823cb1.qloud-c.yandex.net; dkim=pass header.i=@yandex.com X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87edxep9l8.fsf@yahoo.com> (Po Lu's message of "Thu, 18 Aug 2022 10:30:11 +0800") Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:0:1472:2741:0:8b7:122; envelope-from=m43cap@yandex.com; helo=forward503p.mail.yandex.net 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, 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:293584 Archived-At: >>>>> Po Lu writes: > 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. Thank you.