1
0
Fork 0
forked from wry/wry

tree: ensure that node is marked active after un-fullscreening

This commit is contained in:
Julian Orth 2022-05-04 16:33:28 +02:00
parent 23f1aa5a31
commit 8c3106f631
5 changed files with 58 additions and 14 deletions

View file

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