Skip to content

Commit c5caed5

Browse files
authored
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
1 parent 94f8b02 commit c5caed5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/eframe/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ default_fonts = ["egui/default_fonts"]
3838
## Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow).
3939
glow = ["dep:glow", "dep:egui_glow", "dep:glutin", "dep:glutin-winit"]
4040

41+
## Enables wayland support and fixes clipboard issue.
42+
wayland = ["egui-winit/wayland"]
43+
4144
## Enable saving app state to disk.
4245
persistence = [
4346
"directories-next",

0 commit comments

Comments
 (0)