all: remove control center in its entirety
This commit is contained in:
parent
1dfd6169f8
commit
769d12a525
97 changed files with 59 additions and 10580 deletions
|
|
@ -5,7 +5,7 @@ use {
|
|||
wire::{WlDataDeviceId, wl_data_device::*},
|
||||
wl_usr::{
|
||||
UsrCon,
|
||||
usr_ifs::{usr_wl_data_offer::UsrWlDataOffer, usr_wl_data_source::UsrWlDataSource},
|
||||
usr_ifs::usr_wl_data_offer::UsrWlDataOffer,
|
||||
usr_object::UsrObject,
|
||||
},
|
||||
},
|
||||
|
|
@ -20,16 +20,6 @@ pub struct UsrWlDataDevice {
|
|||
pub selection: CloneCell<Option<Rc<UsrWlDataOffer>>>,
|
||||
}
|
||||
|
||||
impl UsrWlDataDevice {
|
||||
pub fn set_selection(&self, serial: u32, source: &UsrWlDataSource) {
|
||||
self.con.request(SetSelection {
|
||||
self_id: self.id,
|
||||
source: source.id,
|
||||
serial,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
impl WlDataDeviceEventHandler for UsrWlDataDevice {
|
||||
type Error = Infallible;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue