egui/egui-winit/src
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
..
clipboard.rs Fix clipboard on Wayland (#1613) 2022-05-16 16:37:41 +02:00
lib.rs Fix clipboard on Wayland (#1613) 2022-05-16 16:37:41 +02:00
screen_reader.rs Rust 1.60.0 + refactor cargo features (#1467) 2022-04-09 13:54:47 +02:00
window_settings.rs egui-winit: restore window position accurately 2021-10-20 13:54:08 +02:00