Tell Wayland compositor we can handle keyboard ver 4 for repeat info (#8446)

Fixes us not getting Wayland key repeat info from the compositor

Release Notes:

- N/A
This commit is contained in:
Julia
2024-02-26 15:13:01 -05:00
committed by GitHub
parent 3b2e315ead
commit d4584a10b6
2 changed files with 19 additions and 17 deletions
+4 -2
View File
@@ -227,7 +227,8 @@ impl Platform for LinuxPlatform {
options: PathPromptOptions,
) -> oneshot::Receiver<Option<Vec<PathBuf>>> {
let (done_tx, done_rx) = oneshot::channel();
self.foreground_executor()
self.inner
.foreground_executor
.spawn(async move {
let title = if options.multiple {
if !options.files {
@@ -270,7 +271,8 @@ impl Platform for LinuxPlatform {
fn prompt_for_new_path(&self, directory: &Path) -> oneshot::Receiver<Option<PathBuf>> {
let (done_tx, done_rx) = oneshot::channel();
let directory = directory.to_owned();
self.foreground_executor()
self.inner
.foreground_executor
.spawn(async move {
let result = SaveFileRequest::default()
.modal(true)