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

[Improvement] Send mouse cursor to window that get focus #381

Closed
bilboquet opened this issue Apr 27, 2021 · 2 comments
Closed

[Improvement] Send mouse cursor to window that get focus #381

bilboquet opened this issue Apr 27, 2021 · 2 comments

Comments

@bilboquet
Copy link
Collaborator

Hello

First of all a really big thanks for this very useful piece of code, I love PaperWM.

Now some comments about this issue.
I'm using PaperWM with sloppy focus, as other have already said, it sometimes leads to some weird behavior (it's often the case with sloppy focus, it's not specific to PaperWM).
My guess it that any weird behavior I face with sloppy focus and PaperWM, due to the tilling nature of PaperWM, can be simply solved by sending the mouse cursor to the window receiving the focus.

I wish I could propose a patch, but I don't really know were to start (I've never dig into gnome extension).
Could you point me out where to look? (or tell me if I'm wrong on my guess).

Regards,

@bilboquet bilboquet changed the title [Improuvement] Send mouse cursor to window that get focus [Improvement] Send mouse cursor to window that get focus Apr 27, 2021
@jgoerzen
Copy link

I also am experiencing issues with non-click-to-focus. Basically whenever I use Super-, or Super-. to change focus in PaperWM, focus reverts to wherever the mouse pointer is. This solution (moving the mouse to that window) is acceptable, but it wouldn't have to be; simply letting that window keep focus (if possible) would also work.

@bilboquet
Copy link
Collaborator Author

Sorry I've open nearly the same here: #436
Latest one gives a solution, closing this one

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

No branches or pull requests

2 participants