From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: Grabbing all events in a frame (with xelb?)
Date: Tue, 05 Mar 2019 22:01:12 +0100 [thread overview]
Message-ID: <m3k1hdkpd3.fsf@gnus.org> (raw)
In-Reply-To: <jwvwolgprmy.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 02 Mar 2019 22:26:01 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> 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 <key>-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
next prev parent reply other threads:[~2019-03-05 21:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-02 15:42 Grabbing all events in a frame (with xelb?) Lars Ingebrigtsen
2019-03-03 3:26 ` Stefan Monnier
2019-03-05 21:01 ` Lars Ingebrigtsen [this message]
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=m3k1hdkpd3.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).