egui/egui-winit
Antti Keränen b8a5924295
Fix clipboard on Wayland (#1613)
arboard advertises that it works with Wayland, but in reality it only
works with Wayland terminal applications. To make the clipboard work
with applications that draw Wayland surfaces, arboard isn't going to
work.

Copypasta does support Wayland's graphical clipboard, but the usage
isn't documented. However, for the reasons mentioned in #1474 the move
from Copypasta to arboard makes sense.

To resolve the issue, this commit brings in an optional dependency
smithay-clipboard, that is a crate that correctly handles the Wayland
clipboard in graphical applications. It is used by default if a Wayland
window handle is found. If for some reason the handle to the Wayland
window handle cannot be fetched, arboard is used as a backup.
2022-05-16 16:37:41 +02:00
..
src Fix clipboard on Wayland (#1613) 2022-05-16 16:37:41 +02:00
Cargo.toml Fix clipboard on Wayland (#1613) 2022-05-16 16:37:41 +02:00
CHANGELOG.md Release 0.18.0 - Shape::Callback, Table, and better text contrast 2022-04-30 20:27:27 +02:00
README.md Split out new crate egui-winit from egui_glium (#735) 2021-09-28 17:33:28 +02:00

egui-winit

Latest version Documentation unsafe forbidden MIT Apache

This crates provides bindings between egui and winit.

The library translates winit events to egui, handled copy/paste, updates the cursor, open links clicked in egui, etc.