Wayland: double click (#9608)

This PR builds off of an earlier version of
https://github.com/zed-industries/zed/pull/9595, rearranges some of the
logic, and removes an unused platform API.

Release Notes:

- N/A

---------

Co-authored-by: apricotbucket28 <agustin.nicolas.marcos@outlook.com>
This commit is contained in:
Mikayla Maki 2024-03-20 19:22:47 -07:00 committed by GitHub
parent 9b0949b6fb
commit 0b019282c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 108 additions and 85 deletions

View file

@ -129,7 +129,6 @@ pub(crate) trait Platform: 'static {
fn app_version(&self) -> Result<SemanticVersion>;
fn app_path(&self) -> Result<PathBuf>;
fn local_timezone(&self) -> UtcOffset;
fn double_click_interval(&self) -> Duration;
fn path_for_auxiliary_executable(&self, name: &str) -> Result<PathBuf>;
fn set_cursor_style(&self, style: CursorStyle);