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.bugs Subject: bug#57261: 29.0.50; X protocol error: XI_BadDevice (invalid Device parameter) on protocol request 131 Date: Wed, 17 Aug 2022 16:43:26 +0200 Message-ID: <87wnb76icx.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36272"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57261@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 17 16:44:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oOKHI-0009Ds-H1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 16:44:16 +0200 Original-Received: from localhost ([::1]:51960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oOKHH-0003FK-6d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Aug 2022 10:44:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59582) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oOKH4-0003Dp-Ru for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oOKH4-0002fV-Hu for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oOKH4-0004Y8-9B for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2022 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Aug 2022 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57261 X-GNU-PR-Package: emacs Original-Received: via spool by 57261-submit@debbugs.gnu.org id=B57261.166074741817450 (code B ref 57261); Wed, 17 Aug 2022 14:44:02 +0000 Original-Received: (at 57261) by debbugs.gnu.org; 17 Aug 2022 14:43:38 +0000 Original-Received: from localhost ([127.0.0.1]:52813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOKGf-0004XO-JH for submit@debbugs.gnu.org; Wed, 17 Aug 2022 10:43:37 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:54821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oOKGc-0004X4-0q for 57261@debbugs.gnu.org; Wed, 17 Aug 2022 10:43:36 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id s23so6782118wmj.4 for <57261@debbugs.gnu.org>; Wed, 17 Aug 2022 07:43:33 -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=CZ5KL90M1uPxEL2KFP0sX391ix2C/Y5/9kjqakptXDg=; b=PHvgIsRanzwZ6gtbm2HM6TY34Z+JozcOSmBpee+GHCQmM//aXvWzFfrsYuh1Ee+b/Y CePgeSxiEX9QcFmcFmkdQHd/gPQ61bEfoErnnf136yV47B9TVyp/2iFcUu2QNMUUuaB2 zy0WA0WrDSxfQRD21Yy+UjPY7rMKBtWoRChTWP7GHz1dLq4IuhYP/YCvGriJP/MxHshu ir5tilGjXQwY31cqDH4nOqQFQ84IjL2NyQxXZgEAWn8ktCse2Oy8HcomHR0T+R6IjQFx hAo9DmW7nLHbAU0TRrmn010uV8PbtxoJHu/IcwxH4Qo8WAoguMPs6yw6LtFWPCqqeeSr 29zw== 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=CZ5KL90M1uPxEL2KFP0sX391ix2C/Y5/9kjqakptXDg=; b=kbkttKa7urDH2ovdnUjlkhX91B3p2UazKhbLsA3QBRGeDdUfuoX07KoXthcywSPPEk eZyCvhqCKbq9j/hXRMtQWchDpzHCS79nZX2LbKRKBT8Taa3s3tuq8wqnJNhi95Q3L31M kp/DViZ+nqoVpjXJriav7VrQYARp7WkTWNM7Jby9gg54OL4vMKEhCi++hYPOnNcmYLJf LxQ1sb1CYEFtSkSlOgbhjQs6QjTDLR8OLmGqEXyzYDlZ2GkQh8hXkp6le+YB2cZwNeGy oAB3ok9y+DUZl77PpuqBVw0Uavf2dnsZWx51oZ/EjIZnooalUwGImOoAkgZHOVdJFUO7 hUjA== X-Gm-Message-State: ACgBeo165ck/pFOtNi7dDnEIV2log1e6N/KzZV8+Rfy7ol6aPhJwfMvt NBpDgqbvH9phAqjUIJKKGBBtSUyuXgI= X-Google-Smtp-Source: AA6agR7PSpoDnM/eh/UXO54VnH/evPFmwM9ZSqbdu8nrOVlw301QAnCL1yYYRklJyU92tpPIUlrNvA== X-Received: by 2002:a05:600c:3b93:b0:3a6:c3b:37eb with SMTP id n19-20020a05600c3b9300b003a60c3b37ebmr2372779wms.185.1660747407535; Wed, 17 Aug 2022 07:43:27 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:6581:bb76:89c4:49f0]) by smtp.gmail.com with ESMTPSA id z6-20020a5d4406000000b0021d70a871cbsm13137789wrq.32.2022.08.17.07.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Aug 2022 07:43:27 -0700 (PDT) In-Reply-To: (Jean Louis's message of "Wed, 17 Aug 2022 17:31:47 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:240090 Archived-At: >>>>> On Wed, 17 Aug 2022 17:31:47 +0300, Jean Louis said: Jean> I could not start X version of Emacs at all. Jean> I am on latest git version. Jean> What worked is `emacs -nw --bg-daemon': Jean> but Emacs is not starting on X now. Does this help: 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 --