tree: add window-management mode
This commit is contained in:
parent
1a73bbd075
commit
70a8f47288
20 changed files with 644 additions and 9 deletions
|
|
@ -955,6 +955,10 @@ impl Client {
|
|||
self.send(&ClientMessage::SetFocusFollowsMouseMode { seat, mode })
|
||||
}
|
||||
|
||||
pub fn set_window_management_enabled(&self, seat: Seat, enabled: bool) {
|
||||
self.send(&ClientMessage::SetWindowManagementEnabled { seat, enabled })
|
||||
}
|
||||
|
||||
pub fn set_input_device_connector(&self, input_device: InputDevice, connector: Connector) {
|
||||
self.send(&ClientMessage::SetInputDeviceConnector {
|
||||
input_device,
|
||||
|
|
|
|||
|
|
@ -483,6 +483,10 @@ pub enum ClientMessage<'a> {
|
|||
RemoveInputMapping {
|
||||
input_device: InputDevice,
|
||||
},
|
||||
SetWindowManagementEnabled {
|
||||
seat: Seat,
|
||||
enabled: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue