tree: implement pointer constraints
This commit is contained in:
parent
d4c4497043
commit
38d1267ec9
19 changed files with 707 additions and 4 deletions
|
|
@ -297,6 +297,10 @@ impl Client {
|
|||
axis
|
||||
}
|
||||
|
||||
pub fn disable_pointer_constraint(&self, seat: Seat) {
|
||||
self.send(&ClientMessage::DisablePointerConstraint { seat });
|
||||
}
|
||||
|
||||
pub fn set_fullscreen(&self, seat: Seat, fullscreen: bool) {
|
||||
self.send(&ClientMessage::SetFullscreen { seat, fullscreen });
|
||||
}
|
||||
|
|
|
|||
|
|
@ -304,6 +304,9 @@ pub enum ClientMessage<'a> {
|
|||
seat: Seat,
|
||||
use_hardware_cursor: bool,
|
||||
},
|
||||
DisablePointerConstraint {
|
||||
seat: Seat,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Encode, Decode, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue