input/actions: Change focus_follows_cursor to cursor_follows_focus

This caused confusing behavior when "focus follows cursor" was enabled,
but "cursor follows focus" was not. `update_focus_state` only updates
the cursor position if `cursor_follows_focus` is set, so this wasn't
actually moving the pointer when expected.

I presume this was a mistake, and `cursor_follows_focus` was intended
here.
This commit is contained in:
Ian Douglas Scott 2025-07-10 15:20:24 -07:00 committed by Victoria Brekenfeld
parent 3debae2495
commit 4cf319c09c

View file

@ -550,7 +550,7 @@ impl State {
std::mem::drop(shell);
let move_cursor = if let Some(under) = new_target {
let update_cursor = self.common.config.cosmic_conf.focus_follows_cursor;
let update_cursor = self.common.config.cosmic_conf.cursor_follows_focus;
Shell::set_focus(self, Some(&under), seat, None, update_cursor);
!update_cursor
} else {