1
0
Fork 0
forked from wry/wry

it: test surface input region

This commit is contained in:
Julian Orth 2024-04-02 18:18:15 +02:00
parent 221a398abe
commit 9703ba8794
6 changed files with 68 additions and 2 deletions

View file

@ -246,6 +246,13 @@ impl TestConfig {
})
}
pub fn set_floating(&self, seat: SeatId, floating: bool) -> TestResult {
self.send(ClientMessage::SetFloating {
seat: Seat(seat.raw() as _),
floating,
})
}
fn clear(&self) {
unsafe {
if let Some(srv) = self.srv.take() {