emacs-devel
[Top][All Lists]
Advanced

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

Re: master 101bbd1392: Add support for pinch gestures to the XI2 build


From: Po Lu
Subject: Re: master 101bbd1392: Add support for pinch gestures to the XI2 build
Date: Sun, 26 Dec 2021 18:39:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Yes, but you could generate several Emacs events in make_lispy_event,
> can't you?  Or maybe simply ignore the angle data?

I meant to say that those angle deltas only make sense as part of a
pinch event, and they're not supposed to be treated as separate rotation
events.  (Which we will want to expose to Lisp separately, once the
XInput developers add support for them.)

> I don't think I understand how read-event with a timeout will help
> here: you still get a series of events, AFAIU.

Yes, but it solves the flickering problem.

> Walking the event queue looking a for a series of pinch events is much
> easier.

Yes, but limiting the frequency of these events is something not all
commands might want.

> In "Text Scale", I guess (which currently doesn't document
> mouse-wheel-text-scale, which it should).

Thanks.


reply via email to

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