Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warp cursor to center of window for cursor_follows_focus #884

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

m4rch3n1ng
Copy link
Contributor

@m4rch3n1ng m4rch3n1ng commented Sep 26, 2024

i'm not sure if you would want to put this behind a config, but i don't know if the cursor warping to the top left of a window is ever the better option over warping to the center, but i can config it if desirable.

i removed the if is_some() and then unwrap() thing, because Rectangle is copy and not borrowed anyway, but i don't exactly know why this was here so i can just revert it if necessary.

@m4rch3n1ng m4rch3n1ng changed the title warp cursor to center for cursor_follows_focus warp cursor to center of window for cursor_follows_focus Sep 26, 2024
@git-f0x
Copy link
Contributor

git-f0x commented Sep 26, 2024

I think this is planned as the default behavior, so probably no config option necessary. (pop-os/cosmic-settings#567) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants