fix: Do not magnify cursor when there is an active grab.

This commit is contained in:
Konstantinos 2026-08-28 22:22:53 +03:00 • committed by Victoria Brekenfeld
parent e93ec67a11
commit 9059873c84

View file

@ -338,6 +338,9 @@ impl State {
let current_output = seat.active_output();
if self.common.config.cosmic_conf.cursor_shake_to_find
&& seat
.get_pointer()
.is_some_and(|pointer| !pointer.is_grabbed())
&& let Some(cursor_state) =
seat.user_data()
.get::<crate::backend::render::cursor::CursorState>()