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:
parent
3debae2495
commit
4cf319c09c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue