feat: shake cursor to find by magnifying the cursor

This commit is contained in:
Hojjat 2026-07-20 16:11:13 -06:00 • committed by Victoria Brekenfeld
parent 04026259e0
commit f20de50e41
7 changed files with 205 additions and 7 deletions

View file

@ -2286,6 +2286,11 @@ impl Shell {
.is_some_and(|state| state.lock().unwrap().is_animating())
})
})
|| self.seats.iter().any(|seat| {
seat.user_data()
.get::<crate::backend::render::cursor::CursorState>()
.is_some_and(|state| state.lock().unwrap().is_magnifying())
})
}
pub fn update_animations(&mut self) -> HashMap<ClientId, Client> {