mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update rust-clipboard to the version with working set_contents.
This commit is contained in:
parent
f86252a60b
commit
9ba18850dd
5 changed files with 4 additions and 5 deletions
|
@ -476,7 +476,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
|
|||
sender.send(result).unwrap();
|
||||
}
|
||||
ConstellationMsg::SetClipboardContents(s) => {
|
||||
if let Some(ref ctx) = self.clipboard_ctx {
|
||||
if let Some(ref mut ctx) = self.clipboard_ctx {
|
||||
if let Err(e) = ctx.set_contents(s) {
|
||||
debug!("Error setting clipboard contents ({})", e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue