Skip to content

How are double clicks handled? #642

Open

Description

I searched the documentation and found nothing about double clicks. I think there should either be some state for this in the mouse input event or at least a function to get the double click time from the system.

Keep in mind that triple clicks and so on also need to be supported. Triple click typically selects a paragraph in a text view.

Activity

  1. jwilm commented on Aug 28, 2018

    @jwilm
    Contributor

    @Portstrom this is currently left up for the application to solve. In Alacritty, we record a timestamp whenever a click is received, and using a configurable timeout, watch for double and triple clicks.

  2. added
    F - question
    S - api
    on Aug 29, 2018
  3. fasihrana commented on Oct 8, 2018

    @fasihrana

    Should be able to read system setting i think but would that be in the winit scope?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    F - questionS - api

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions