mirror of
https://github.com/wez/wezterm.git
synced 2024-12-27 07:18:13 +03:00
1b2efe8c70
This commit adds more trace logging around selection related events. That tracing uncovered a situation, when multiple wezterm windows within the same process were involved, where one window didn't receive a selection-clear event notification. Since Window::get_clipboard trusted our local understand of the clipboard contents, it would return those until the selection was changed in that window. This commit changes that code to always ask the X server for the selection. It makes pasting slightly slower, but should always produce consistent results. refs: https://github.com/wez/wezterm/issues/2110 |
||
---|---|---|
.. | ||
examples | ||
src | ||
build.rs | ||
Cargo.toml |