We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
egui_winit::clipboard
1 parent 4706a78 commit eddb9ebCopy full SHA for eddb9eb
desktop/src/backends/ui.rs
@@ -145,10 +145,16 @@ impl FileDialogResult for DesktopFileDialogResult {
145
}
146
147
pub struct DesktopUiBackend {
148
+ // It's important that `clipboard`` gets dropped before `window`, dropping
149
+ // them the other way around causes a segfault inside `smithay_clipboard`.
150
+ // See:
151
+ // - https://github.com/emilk/egui/issues/7660
152
+ // - https://github.com/emilk/egui/issues/7743
153
+ clipboard: Clipboard,
154
window: Arc<Window>,
155
+
156
event_loop: EventLoopProxy<RuffleEvent>,
157
cursor_visible: bool,
- clipboard: Clipboard,
158
preferences: GlobalPreferences,
159
preferred_cursor: MouseCursor,
160
font_database: Rc<fontdb::Database>,
0 commit comments