[RFC] compositor: Simple key repeat implementation.

Scott Moreau oreaus at gmail.com
Wed Mar 7 14:35:29 PST 2012


On Wed, Mar 7, 2012 at 3:27 PM, Daniel Stone <daniel at fooishbar.org> wrote:

> Hi,
>
> On 7 March 2012 22:21, Scott Moreau <oreaus at gmail.com> wrote:
> > There's nothing fancy about this, we just set a timer and simulate
> > events using states 2 and 3 for repeat-up and repeat-down events.
>
> Did you think about just using a single event, rather than the
> separate repeat press/release events? If nothing else, it saves
> clients the hassle of processing two events they know are always
> guaranteed to immediately follow each other ...
>
> Cheers,
> Daniel
>


If it doesn't cause a problem, we can do whatever is best. After all, it's
a single line change here.


Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120307/5af7ad21/attachment.html>


More information about the wayland-devel mailing list