emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Touchscreen support


From: Po Lu
Subject: Re: Touchscreen support
Date: Sun, 19 Dec 2021 19:42:31 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> I don't think GTK has a public API for the pan gesture either, even
>> though it's clearly supported by the built-in widgets.

> So maybe we will have to construct that from other gestures on those
> platforms.

I will try that, but I don't think it will work out very well.

> I'm not opposed to having parts of this in Lisp, but I do want to see
> the events placed in the normal Emacs input queue, which probably
> means that Lisp will be called from C.  Not sure if such design will
> make sense in practice, though.  But OTOH, having events coming in
> from another source, not through the input queue read by
> read_socket_hook, is a complication I'd very much prefer to avoid (if
> it's even feasible).

We could have an API that allows Lisp to push some kinds of input events
to that queue, which is then read by the various read_socket_hooks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]