From c5caed5b35c0de97fb2d40be099617d5f4600918 Mon Sep 17 00:00:00 2001 From: ItsEthra <107059409+ItsEthra@users.noreply.github.com> Date: Wed, 29 Mar 2023 15:38:27 +0300 Subject: [PATCH] Enabled wayland feature for winit when running native (#2751) * Enabled wayland feature for winit when native * Enable egui-winit/wayland through eframe instead by on by default --- crates/eframe/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 0e08e6fe..9e0ef786 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -38,6 +38,9 @@ default_fonts = ["egui/default_fonts"] ## Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow). glow = ["dep:glow", "dep:egui_glow", "dep:glutin", "dep:glutin-winit"] +## Enables wayland support and fixes clipboard issue. +wayland = ["egui-winit/wayland"] + ## Enable saving app state to disk. persistence = [ "directories-next",