From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ami Fischman Newsgroups: gmane.emacs.bugs Subject: bug#66765: closed (Re: bug#66765: 30.0.50; Building emacs with xinput2 breaks receiving XSendEvent events) Date: Fri, 27 Oct 2023 10:37:13 -0700 Message-ID: References: <875y2szyz7.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15082"; mail-complaints-to="usenet@ciao.gmane.io" To: 66765@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 27 19:38:58 2023 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 1qwQnR-0003gI-Qy for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Oct 2023 19:38:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwQn5-0002KA-E9; Fri, 27 Oct 2023 13:38:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwQn1-0002IT-7k for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:38:31 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwQn0-0002ts-UD for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:38:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwQnW-00074Z-38 for bug-gnu-emacs@gnu.org; Fri, 27 Oct 2023 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ami Fischman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Oct 2023 17:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66765 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug wontfix Original-Received: via spool by 66765-submit@debbugs.gnu.org id=B66765.169842828827067 (code B ref 66765); Fri, 27 Oct 2023 17:39:02 +0000 Original-Received: (at 66765) by debbugs.gnu.org; 27 Oct 2023 17:38:08 +0000 Original-Received: from localhost ([127.0.0.1]:37035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQmb-00072O-F6 for submit@debbugs.gnu.org; Fri, 27 Oct 2023 13:38:08 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:58650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwQmZ-00071k-3g for 66765@debbugs.gnu.org; Fri, 27 Oct 2023 13:38:04 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53f9af41444so3959452a12.1 for <66765@debbugs.gnu.org>; Fri, 27 Oct 2023 10:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fischman-org.20230601.gappssmtp.com; s=20230601; t=1698428245; x=1699033045; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=N3bnWtEyjWOSg4k95msaNnzJceD5HaioUZUZ0HCW7kg=; b=srUrJJ3fqRaR2at4HEQa6e1sy3rezA8ClhxW1HCt0CnZuNMYb2BmIEQG0zV0ktxsSR zOJza1evzfkh2RvTSH+UZV+52eJv56orBiuHqWCVCkpfCsCwV/+2sex5RSLhnZrkNUGk rOnYxrvc6NUqvfoQaS/8VbQqb2harNnx6vxJQQy6u4Rpe8DTNxiJSpmgXax6ylL6Fy/X 8fXwQ5BSyEuKyl5TY9D4q3uee6u4qn6pWnwHsgQdIzm/UwGdU/9x0oDEZfr4JhihFX2y bzKg6dQNINKhX/yLdab1UHz5uijOB+rmWh8ftr1t1rvf4eKRIyLuWD8i81ZHJ/QGJV9Y /zbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698428245; x=1699033045; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=N3bnWtEyjWOSg4k95msaNnzJceD5HaioUZUZ0HCW7kg=; b=fSHXJ2IS9WAU93Tz4G6+2sHFOGDLMPyUdrIrn2WBvsAXVyFX0dwIjfnaLpD7iwSg1D eZWYHpZec3sF+is1nlVXEQt6ENrw+6J9RP25VyVLNvvQd7w8oJuTDkglvgojOBKEOGGN OVSqNF4NwM2epPeMzoZLs651d/amHcBJxlVbjRpL3WB0RoXZClGBpobFQX82HN9yCDuH 1piA2rfWXlE43lpLTk1DssPOTwFWiNq1rBcaIA+STT59NoNPaKBxmnRId5lQQHIst0zu 9aB/5fQoEqv2TCXRB42CwjxRU8Z6LxxD6sNxiTKvrGkJAFcGHKTL9CxwwYHrjAguVLao nIKQ== X-Gm-Message-State: AOJu0YxNkDOklEBqaSyBWQXFbCO68gdOWVYWj0606JWFK8B8Ppcay5oG tuFnHFbkD8b6yyzLf5j8fMEQ7eML1iikIqAgo8lGNb8DNGeCIXEYePT8dKuL X-Google-Smtp-Source: AGHT+IHlgm1KPr1fJ7qUrtqc2uOkeC1mDNOseWDE8CGMVVK6WkRnqQ66h4qidJvzR2r6OrchVOFYfG/87E16SSQ6Sxs= X-Received: by 2002:a05:6402:617:b0:53d:ff30:921 with SMTP id n23-20020a056402061700b0053dff300921mr2703045edv.18.1698428245224; Fri, 27 Oct 2023 10:37:25 -0700 (PDT) In-Reply-To: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:273397 Archived-At: Thanks for following up, all. > > The OP talked specifically about ratpoison. > ratpoison doesn't send events to Emacs itself. This is incorrect. I only included the `xse` invocation to provide readers of the bug who do not use ratpoison normally a way to reproduce the issue. Ratpoison _does_ call XSendEvent directly, e.g. at https://git.savannah.nongnu.org/cgit/ratpoison.git/tree/src/actions.c?h=v1.4.9#n1414 > It is easily replaced with "xdotool" or suchlike. For the record, xdotool (version 3.20160805.1) fails similarly to xse and ratpoison when I try to use it like this: xdotool key --window 0x36000d4 ctrl+a (window ID of HEAD emacs with xinput2 results in a no-op, window ID of emacs without xinput2 correctly receives a C-a event) I'm curious if you have an example invocation you can share that does result in a C-a being injected to an emacs build with XInput2 support.