autocommit 2022-04-20 16:11:37 CEST
This commit is contained in:
parent
fa1ec0b36c
commit
ab3c2e44f4
19 changed files with 409 additions and 210 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue