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

@ -201,6 +201,14 @@ impl WlSeatGlobal {
.set(Some(self.state.seat_queue.add_last(self.clone())));
}
pub fn set_fullscreen(&self, fullscreen: bool) {
self.keyboard_node.get().node_set_fullscreen(fullscreen);
}
pub fn get_fullscreen(&self) -> bool {
self.keyboard_node.get().node_fullscreen()
}
pub fn set_keymap(&self, keymap: &Rc<XkbKeymap>) {
self.kb_map.set(keymap.clone());
let bindings = self.bindings.borrow_mut();