From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Grabbing all events in a frame (with xelb?) Date: Tue, 05 Mar 2019 22:01:12 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="135362"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 05 22:02:34 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1HCq-000Z1u-Kw for ged-emacs-devel@m.gmane.org; Tue, 05 Mar 2019 22:02:32 +0100 Original-Received: from localhost ([127.0.0.1]:49182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1HCp-0007Zr-Bi for ged-emacs-devel@m.gmane.org; Tue, 05 Mar 2019 16:02:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1HBt-0007Zi-Ij for emacs-devel@gnu.org; Tue, 05 Mar 2019 16:01:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1HBp-0008CJ-4U for emacs-devel@gnu.org; Tue, 05 Mar 2019 16:01:31 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]:37084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1HBh-00081F-7I for emacs-devel@gnu.org; Tue, 05 Mar 2019 16:01:23 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h1HBY-0000Up-7b for emacs-devel@gnu.org; Tue, 05 Mar 2019 22:01:15 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUGAwUMCQ4lMVBqgaQT FCMIBggXvIF1AAACXklEQVQ4jU1US5bjIAxU3mv2URoOYHAfYOyefUTkvZln7n+VrsLJpLXgJRT6 lUoWr64tZths0d1UU+9dVLR6VI0VgJu7j/s9qJiOZ64Oh0hg77uEJE6zrr0BNf7sIidwW/mvq+nw xHuYiuey5inRQaeYkA8uoat85VzKfAK4bP00JC8LgDoy4fHA0yWh3LICyMNcT7MGINX8H3ghnYDd AOQXgLq0PYFYCaC0lwuAnnZ0DiTnFbaQLwAW2AveAFiH0cMVzLB5vPks5QUYKbO4EVC9Pe/XpcAD NJa/skvWt8da4F+voF2u8h3nxxuYkHEDIWoy11zr4zcQcyyLSeToPt9Ad9SG6ghkjOQJJATJnro0 qZQB+gW7eX6AcAK7HMJI85NVfUAJijpvk8qMpxOlQVZvqGjBbMqfX0DDEQHM6zq/AUiAA20UFWoC gaDddEvU2BNIEUlRLgrUOzgbDpRIB4kGYO+arlAYXNp21sY5NglIKnLBEeJTcrhGi0OqciCfuTX1 iqIQtAme74zUbq5b8whiJjZFoO0NYXPsWBSytrEC4RS1VQhh66kZeF7Yrcv9Cp/QfJ436haTWVCz OpLLsF7VYoNgV6wciEWDbWd6+TBmeiBmLt/usnEFr1yiIVoOuqyzR86D0dLYjMb19LpALGIjR+AZ Nj8tg25uG+wiAeeO6Z4b1FSaSbAtSGSeo45NIM/igz0EnuERjjr1dAJo74BmoKY7woV/2xF1LCeU cvAjgvKpB/zyoQyB9PixIPI1iI4cL3NcLFLDaC3vrO2KGTBHNC4kXn7kPIGyc/yqP6qowunAtmzF AAAAAElFTkSuQmCC In-Reply-To: (Stefan Monnier's message of "Sat, 02 Mar 2019 22:26:01 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233855 Archived-At: Stefan Monnier writes: >> Is there a way to get low-level events like that "natively" in Emacs? > > Now without C-level changes, AFAIK. But those changes are pretty simple > (I used to have a patch that added such -up events, treated a bit > like the down-mouse-N events). Thanks; sounds like that might be useful generally in Emacs? Any reason you didn't push that patch? :-) I've now made things work for my use case by using the xelb/xcb library and popping up transparent non-Emacs windows and stuff. It works, but a pure Emacs-frame solution would be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no