Kirill Chibisov
8a81be7c0a
Avoid panic on dispatch failure ( #23 )
...
Prevent crash when calling unwrap on either sync_roundtrip
or dispatch_pending, and handle such case by replying downstream
that clipboard is dead.
2020-08-27 13:08:26 +02:00
Kirill Chibisov
597086c42c
Add rustfmt.toml
...
Add rustfmt.toml that is being used by projects under smithay's
umbrella.
2020-08-06 09:38:46 +02:00
Kirill Chibisov
bb652c775b
Update smithay-clipboard to SCTK 0.9.1 ( #16 )
...
This commit entirely reworks the internal structure of the entire crate,
as well as some of its APIs. This crate only accepts a C pointer to a
Wayland display object, since the target audience of this crate are
libraries without a wayland-client types. Also since seat information is
not presented in such clients most of the time, the clipboard entirely
relies on its seat tracking.
2020-05-10 15:40:03 +02:00
Christian Duerr
817340fa14
Update smithay-client-toolkit version ( #5 )
...
* Update smithay-client-toolkit version
* Fix formatting issues
2019-06-13 07:19:39 +08:00
Lucas Timmins
a42fd69ee1
Specify crate:: for pre rust 1.32 compatibility
2019-06-07 10:46:22 +08:00
Lucas Timmins
60e77cd2b0
Add primary selection support
2019-06-07 10:46:22 +08:00
Lucas Timmins
1fa455ab6f
Refactor thread code into threaded.rs
2019-06-07 10:46:22 +08:00
Lucas Timmins
f56bb85124
Remove dbg! macro
2019-04-27 23:35:33 +08:00
Lucas Timmins
4eecc726c0
Sync with server to get seat name
2019-04-27 22:04:41 +08:00
Lucas Timmins
f84c9be419
Update documentation
2019-04-27 19:01:41 +08:00
Lucas Timmins
61ac558555
Take an option of a seat name or use name of latest seat event
2019-04-27 18:52:15 +08:00
Lucas Timmins
2a0cd44962
Cleanup
2019-04-24 01:27:50 +08:00
Lucas Timmins
4f4908166a
Sync roundtrip to register seat
2019-04-24 01:20:59 +08:00
Lucas Timmins
ba9de4e1d8
Get serials from key and pointer events
2019-04-23 20:47:06 +08:00
Lucas Timmins
d2e552405b
Return empty string for load requests with no seat
2019-04-23 18:48:55 +08:00
Lucas Timmins
0ad92d3a0c
Fix docs
2019-02-14 18:01:57 +08:00
trimental
a36d3e3e8e
Multiple seat support and api refactor ( #2 )
...
* Multiple seat support and api refractor
* Remove the need for two GlobalManagers
* Remove unnecessary `Arc<Mutex<_>>` and `if let`s with `unwrap()`
* Use cloned display to create eventloop in `new_threaded()`
* Update docs
* Wrap display to event queue
2019-02-13 23:48:50 +08:00
Lucas Timmins
0e959c7673
Rename to smithay-clipboard
2019-02-10 19:05:47 +08:00
Lucas Timmins
17011ea9f7
Initial commit
2019-02-10 01:28:53 +08:00