fix: Do not magnify cursor when there is an active grab.
This commit is contained in:
parent
e93ec67a11
commit
9059873c84
1 changed files with 3 additions and 0 deletions
|
|
@ -338,6 +338,9 @@ impl State {
|
||||||
let current_output = seat.active_output();
|
let current_output = seat.active_output();
|
||||||
|
|
||||||
if self.common.config.cosmic_conf.cursor_shake_to_find
|
if self.common.config.cosmic_conf.cursor_shake_to_find
|
||||||
|
&& seat
|
||||||
|
.get_pointer()
|
||||||
|
.is_some_and(|pointer| !pointer.is_grabbed())
|
||||||
&& let Some(cursor_state) =
|
&& let Some(cursor_state) =
|
||||||
seat.user_data()
|
seat.user_data()
|
||||||
.get::<crate::backend::render::cursor::CursorState>()
|
.get::<crate::backend::render::cursor::CursorState>()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue