it: test cursor-shape protocol
This commit is contained in:
parent
9c8131e145
commit
6448a14fb1
10 changed files with 154 additions and 2 deletions
|
|
@ -909,6 +909,11 @@ impl WlSeatGlobal {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg_attr(not(feature = "it"), allow(dead_code))]
|
||||
pub fn get_desired_known_cursor(&self) -> Option<KnownCursor> {
|
||||
self.desired_known_cursor.get()
|
||||
}
|
||||
|
||||
pub fn set_known_cursor(&self, cursor: KnownCursor) {
|
||||
self.desired_known_cursor.set(Some(cursor));
|
||||
let cursors = match self.state.cursors.get() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue