From 6d41ab5883e05f88d83afef8a33a2a59f187bcd7 Mon Sep 17 00:00:00 2001 From: Cody Wyatt Neiman Date: Sun, 15 Dec 2024 16:12:19 -0500 Subject: [PATCH] Reorder egui-winit feature deps in eframe --- crates/eframe/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 0397074edf1..36d469017ed 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -85,11 +85,11 @@ wayland = [ ## Enables wayland support and fixes clipboard issue. wayland = [ "egui-winit/wayland", + "egui-winit/clipboard-wayland", "egui-wgpu?/wayland", "egui_glow?/wayland", "glutin?/wayland", "glutin-winit?/wayland", - "egui-winit/clipboard-wayland", ] ## Enable screen reader support (requires `ctx.options_mut(|o| o.screen_reader = true);`) on web. @@ -118,13 +118,13 @@ wgpu = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster"] ## Enables compiling for x11. x11 = [ "egui-winit/x11", + "egui-winit/clipboard-nonwayland", "egui-wgpu?/x11", "egui_glow?/x11", "glutin?/x11", "glutin?/glx", "glutin-winit?/x11", "glutin-winit?/glx", - "egui-winit/clipboard-nonwayland", ] ## If set, eframe will look for the env-var `EFRAME_SCREENSHOT_TO` and write a screenshot to that location, and then quit.