Fix primary clipboard storing and release 0.3.1
This commit is contained in:
parent
59fa30aba0
commit
18e49392ca
3 changed files with 8 additions and 1 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
## 0.3.1 -- 2019-06-08
|
||||
|
||||
- Fix primary clipboard storing
|
||||
|
||||
## 0.3.0 -- 2019-06-07
|
||||
|
||||
- Add support for primary selection through `store_primary()` and `load_primary()`
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "smithay-clipboard"
|
||||
version = "0.3.0"
|
||||
version = "0.3.1"
|
||||
authors = ["Lucas Timmins <timmins.s.lucas@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "Provides access to the wayland clipboard for client applications."
|
||||
|
|
|
|||
|
|
@ -370,6 +370,9 @@ fn clipboard_thread(
|
|||
(),
|
||||
)
|
||||
});
|
||||
if let Ok(source) = &source {
|
||||
source.offer("text/plain;charset=utf-8".to_string());
|
||||
}
|
||||
primary_device.set_selection(source.ok().as_ref(), *enter_serial);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue