Rename to smithay-clipboard

This commit is contained in:
Lucas Timmins 2019-02-10 19:05:47 +08:00
parent 17011ea9f7
commit 0e959c7673
5 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
[package]
name = "smithay-wayland-clipboard"
name = "smithay-clipboard"
version = "0.1.0"
authors = ["Lucas Timmins <timmins.s.lucas@gmail.com>"]
edition = "2018"

View file

@ -1,13 +1,13 @@
[![crates.io](http://meritbadge.herokuapp.com/smithay-wayland-clipboard)](https://crates.io/crates/smithay-wayland-clipboard)
[![Build Status](https://travis-ci.org/Smithay/wayland-clipboard.svg?branch=master)](https://travis-ci.org/Smithay/wayland-clipboard)
[![crates.io](http://meritbadge.herokuapp.com/smithay-clipboard)](https://crates.io/crates/smithay-clipboard)
[![Build Status](https://travis-ci.org/Smithay/smithay-clipboard.svg?branch=master)](https://travis-ci.org/Smithay/smithay-clipboard)
# Smithay Wayland Clipboard
# Smithay Clipboard
This crate provides access to the wayland clipboard with only requirement being a WlDisplay object.
This crate provides access to the wayland clipboard.
## Documentation
The documentation for the master branch is [available online](https://smithay.github.io/wayland-clipboard/).
The documentation for the master branch is [available online](https://smithay.github.io/smithay-clipboard/).
The documentation for the releases can be found on [docs.rs](https://docs.rs/smithay-wayland-clipboard).
The documentation for the releases can be found on [docs.rs](https://docs.rs/smithay-clipboard).

View file

@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv=refresh content=0;url=smithay_wayland_clipboard/index.html />
<meta http-equiv=refresh content=0;url=smithay_clipboard/index.html />
</head>
</html>

View file

@ -18,7 +18,7 @@ fn main() {
Display::connect_to_env().expect("Failed to connect to the wayland server.");
let env = Environment::from_display(&*display, &mut event_queue).unwrap();
let mut clipboard = wayland_clipboard::WaylandClipboard::new_threaded(
let mut clipboard = smithay_clipboard::WaylandClipboard::new_threaded(
display.get_display_ptr() as *mut std::ffi::c_void,
);
let cb_contents = Arc::new(Mutex::new(String::new()));

View file

@ -6,7 +6,7 @@
//! ```no_run
//! let (display, mut event_queue) =
//! Display::connect_to_env().expect("Failed to connect to the wayland server.");
//! let mut clipboard = wayland_clipboard::WaylandClipboard::new_threaded(
//! let mut clipboard = smithay_clipboard::WaylandClipboard::new_threaded(
//! display.get_display_ptr() as *mut std::ffi::c_void,
//! );
//! clipboard.store("Test data");