From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: X protocol error Date: Wed, 17 Aug 2022 16:55:40 +0200 Message-ID: <87sflu7wcz.fsf@gmail.com> References: <87wnb79nu7.fsf@yandex.com> <87mtc3oy8d.fsf@yahoo.com> <87sflvt130.fsf@yandex.com> <871qtf7xhe.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="20894"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , emacs-devel@gnu.org To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 17 16:56:54 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 1oOKTV-0005HJ-1b for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 16:56:53 +0200 Original-Received: from localhost ([::1]:49158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOKTT-0007oU-Qw for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Aug 2022 10:56:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOKSP-0006zH-VL for emacs-devel@gnu.org; Wed, 17 Aug 2022 10:55:45 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:39875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOKSN-0000FV-SI for emacs-devel@gnu.org; Wed, 17 Aug 2022 10:55:45 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id r16so7294978wrm.6 for ; Wed, 17 Aug 2022 07:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=OyQTVY0ldDDsbJDi9BYNzKDA0gU2CBF66rkR7u61JyM=; b=KWKL8aLHskk5S+RmJ56cnkS0niqHGFtvg+0QKJnieSy8pWTJtFhYOty4fZbmBHJljZ ajoaO5mM+KQ7pxzgW6j3/gNck1u0YiYUcW7UUShDZ4D6T7s+RI7i9guVnJy0VVGwg4fV 8HXA6clOvZbxeBf0EhE+CaD06OpeXW611WGfr+LFZqzb/6SKHvXQrTPiWfiy/b1X9V4t 6qN+1ABLmP4EK0ZaG+PFBRnMmGO9cUww2p784loCD7nnfU4EpIi6jFwhNgK4mPdSgGgu TNF6w+wKjUs11Tp2md9ebecfdBwyqwqxaX6RMArmbuMUnU0g2UcRXquh4obVON6Lds+T ipqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=OyQTVY0ldDDsbJDi9BYNzKDA0gU2CBF66rkR7u61JyM=; b=DuNPTHdmw5GuBZGs6H2Krj80jJ12LdaKoyL2rTF5yBI1VTBtOhRUmDyRKRn0tzz6S1 LjQLHB01bixfjSCE43ur+UlCktus0QbvloCzMp8OAD1kbaXkYn66RMF6fULiqSrGShxY z4x9fm0qV2Eqf8m3KOgjD4sez/K1nQOPsvbQCH2Czl7AE+nceAFj6997dT3+o/Bl53JA BtK24EGmmQV9q9x6s0dmMf7wRz+2qUGEg5IVncm30ffOBh3b+RxNOwZ/XQwKcHgLGP+4 pe3W7cWsyXY22s3/yGSUevCAPjEnkovpVYz8uHhw162LJgLWmkkYbBTSnTvaVbewvGdu s+Ag== X-Gm-Message-State: ACgBeo08HhliQQdytaz5meycaaxf+WqRQXsEY2LvCAiW4qmEi26SXmic Iqh4ou0X8sCRzExdDS2DGsMBbXSLMoc= X-Google-Smtp-Source: AA6agR6PBUsY0D2CtmsuNA8E5veXfO7CXWh5O7+MXO2LlFapU3kr46AeW/S0EIaHP3VfeGwIxJmjRA== X-Received: by 2002:a5d:6f1a:0:b0:225:11d5:f39 with SMTP id ay26-20020a5d6f1a000000b0022511d50f39mr5643834wrb.41.1660748141468; Wed, 17 Aug 2022 07:55:41 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:6581:bb76:89c4:49f0]) by smtp.gmail.com with ESMTPSA id bg19-20020a05600c3c9300b003a5e7435190sm2919104wmb.32.2022.08.17.07.55.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:55:40 -0700 (PDT) In-Reply-To: <871qtf7xhe.fsf@gmail.com> (Robert Pluim's message of "Wed, 17 Aug 2022 16:31:25 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=rpluim@gmail.com; helo=mail-wr1-x435.google.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, 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:293567 Archived-At: 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); Robert --