1
0
Fork 0
forked from wry/wry

autocommit 2022-04-20 16:11:37 CEST

This commit is contained in:
Julian Orth 2022-04-20 16:11:37 +02:00
parent fa1ec0b36c
commit ab3c2e44f4
19 changed files with 409 additions and 210 deletions

View file

@ -128,6 +128,19 @@ impl Seat {
pub fn show_workspace(self, workspace: Workspace) {
get!().show_workspace(self, workspace)
}
pub fn toggle_fullscreen(self) {
let c = get!();
c.set_fullscreen(self, !c.get_fullscreen(self));
}
pub fn fullscreen(self) -> bool {
get!(false).get_fullscreen(self)
}
pub fn set_fullscreen(self, fullscreen: bool) {
get!().set_fullscreen(self, fullscreen)
}
}
pub fn get_seats() -> Vec<Seat> {