1
0
Fork 0
forked from wry/wry

autocommit 2022-02-17 19:49:59 CET

This commit is contained in:
Julian Orth 2022-02-17 19:49:59 +01:00
parent 195a92d98b
commit bb0468feea
7 changed files with 70 additions and 17 deletions

View file

@ -118,6 +118,9 @@ impl XdgToplevel {
}
pub fn set_active(self: &Rc<Self>, active: bool) {
if let Some(parent) = self.parent_node.get() {
parent.child_active_changed(&**self, active);
}
let changed = {
let mut states = self.states.borrow_mut();
match active {