idle: add a grace period
This commit is contained in:
parent
1ad3d11616
commit
e8be15a26c
29 changed files with 405 additions and 79 deletions
|
|
@ -266,6 +266,10 @@ impl TestConfig {
|
|||
self.send(ClientMessage::SetIdle { timeout })
|
||||
}
|
||||
|
||||
pub fn set_idle_grace_period(&self, period: Duration) -> TestResult {
|
||||
self.send(ClientMessage::SetIdleGracePeriod { period })
|
||||
}
|
||||
|
||||
pub fn set_floating(&self, seat: SeatId, floating: bool) -> TestResult {
|
||||
self.send(ClientMessage::SetFloating {
|
||||
seat: Seat(seat.raw() as _),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue