tiling: Focus whole stack on Focus::In

This commit is contained in:
Victoria Brekenfeld 2023-06-14 17:29:08 +02:00
parent 5884e287a5
commit 1452281fa7
3 changed files with 18 additions and 1 deletions

View file

@ -436,6 +436,11 @@ impl CosmicStack {
})
}
pub(in super::super) fn focus_stack(&self) {
self.0
.with_program(|p| p.group_focused.store(true, Ordering::SeqCst));
}
pub(super) fn loop_handle(&self) -> LoopHandle<'static, crate::state::Data> {
self.0.loop_handle()
}