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: Grabbing all events in a frame (with xelb?) Date: Sat, 02 Mar 2019 16:42:44 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="119114"; 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 Sat Mar 02 16:52:45 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 1h06wO-000UpJ-SX for ged-emacs-devel@m.gmane.org; Sat, 02 Mar 2019 16:52:44 +0100 Original-Received: from localhost ([127.0.0.1]:55911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h06wN-0004aM-OB for ged-emacs-devel@m.gmane.org; Sat, 02 Mar 2019 10:52:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h06vi-0004Zh-OY for emacs-devel@gnu.org; Sat, 02 Mar 2019 10:52:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h06mo-0008Bg-Gk for emacs-devel@gnu.org; Sat, 02 Mar 2019 10:42:52 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]:52816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h06mo-00088i-9M for emacs-devel@gnu.org; Sat, 02 Mar 2019 10:42:50 -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 1h06mj-0000KZ-1z for emacs-devel@gnu.org; Sat, 02 Mar 2019 16:42:47 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEWRi4BoXVHf3cyAe3Ku qqIBAQFgU0f+/+9OPisGBAL///8WDwb+/vp9cGH6+ew0JA8MHKyQAAAB9UlEQVQ4jdXSQWjTUBgH 8FcZPZmxDAm5VDEEBcGh1pOso8Swg7DhJYfQQ5lKiMjosbdCUUqLSPDQsUcvI+QUwm6FhRx6EYRS inVSROgKKhSk5JxR5Pnem01fsJcd/V/y8f3yfe8RAh6qS/MYXHWXxgOP/lY9t9elhQ3u9L+HGzHk OXCPFsfCkx/89vUYJEWSafEz/e2Dqu7OwQEqWKHV3VvPenhuDrasyHlapW6+6LvOxYRN9kiqQq/D 5zN91966AFkFMhY6yn/mN1z7LD58HodfH+y6R6v/AL1xGE6XAsn/CM5pLssmhqPnOcEwDcOoGdVs NscvYF1uQKhpelM7CMMwxcIM90mK0qTCgjQOZm0C+u1yZcCCNBo2KKxOyuyE+mVnZOFtLf0sATw6 4ExrphWQn4QSLJYChJod5F+ZfmTgZbMg1iMLm/9gUrnPgFbkOBERUCblBDwd7ZiIRJFU5rqi/74+ shAKgk4k1phPIlgFk7c6QQBbh9bvQTeGzI2CaJVwH7ZOotcMrI3bVdPCfdg8efdmbwHXBo39aAZ1 CNuRkGFBeHVonmu67vvDr+kqhU26an9YK/maDltBNj2uMmd84gxUR+cYTlNvGdjjSQwS/Fic4YBk Yrj8f7UUNj23e9lVeMCjQ14Ctnrk8SvuTvGLuOX9Ae0pg5q2xrYfAAAAAElFTkSuQmCC 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:233771 Archived-At: If I say (track-mouse (read-event)) I get pretty much all the events, but I don't get things like "the shift key has been pressed". Is there a way to get low-level events like that "natively" in Emacs? If not, does anybody know whether one could use the xelb/xcb library to do something like that? I've tried looking at the exwm window manager, and the answer seems to be "yes", although I've been unable to whip up a simple, minimal way to, er, xcb:GrabKey and then get the events... Is there a xelb mailing list? :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no