wayland.data_device: review docs & API

This commit is contained in:
Victor Berger 2021-07-01 23:41:45 +02:00 committed by Victor Berger
parent 6454ebecf0
commit 0ac045eb17
1 changed files with 1 additions and 5 deletions

View File

@ -31,7 +31,7 @@
//!
//! ```
//! # extern crate wayland_server;
//! use smithay::wayland::data_device::{init_data_device, default_action_chooser, DnDIconRole};
//! use smithay::wayland::data_device::{init_data_device, default_action_chooser};
//! # use smithay::wayland::compositor::compositor_init;
//!
//! # let mut display = wayland_server::Display::new();
@ -104,10 +104,6 @@ pub enum DataDeviceEvent {
},
}
/// The role applied to surfaces used as DnD icons
#[derive(Debug, Default)]
pub struct DnDIconRole;
enum Selection {
Empty,
Client(wl_data_source::WlDataSource),