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
|
|
@ -3,8 +3,8 @@ use {
|
|||
ifs::wl_seat::wl_pointer::PendingScroll,
|
||||
object::Version,
|
||||
utils::clonecell::CloneCell,
|
||||
wire::{WlPointerId, WlSurfaceId, wl_pointer::*},
|
||||
wl_usr::{UsrCon, usr_ifs::usr_wl_surface::UsrWlSurface, usr_object::UsrObject},
|
||||
wire::{WlPointerId, wl_pointer::*},
|
||||
wl_usr::{UsrCon, usr_object::UsrObject},
|
||||
},
|
||||
std::{cell::Cell, convert::Infallible, rc::Rc},
|
||||
};
|
||||
|
|
@ -40,18 +40,6 @@ pub trait UsrWlPointerOwner {
|
|||
}
|
||||
}
|
||||
|
||||
impl UsrWlPointer {
|
||||
pub fn set_cursor(&self, serial: u32, cursor: Option<&UsrWlSurface>, hot_x: i32, hot_y: i32) {
|
||||
self.con.request(SetCursor {
|
||||
self_id: self.id,
|
||||
serial,
|
||||
surface: cursor.map(|c| c.id).unwrap_or(WlSurfaceId::NONE),
|
||||
hotspot_x: hot_x,
|
||||
hotspot_y: hot_y,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
impl WlPointerEventHandler for UsrWlPointer {
|
||||
type Error = Infallible;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue