From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Grabbing all events in a frame (with xelb?)
Date: Sat, 02 Mar 2019 16:42:44 +0100 [thread overview]
Message-ID: <m336o59taj.fsf@gnus.org> (raw)
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
next reply other threads:[~2019-03-02 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-02 15:42 Lars Ingebrigtsen [this message]
2019-03-03 3:26 ` Grabbing all events in a frame (with xelb?) Stefan Monnier
2019-03-05 21:01 ` Lars Ingebrigtsen
2019-03-08 6:08 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m336o59taj.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).