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

Ensure focus consistency #123

Merged
merged 4 commits into from
Nov 13, 2022
Merged

Conversation

flaviozavan
Copy link
Contributor

I've been using this daily, and it seems stable and correct.

Updates all the code related to focusing surfaces, centralizing the handling
code. This fixes a few issues, namely:

-Views being unmapped in workspaces other than the current would set focus to a
surface that is not on the screen;
- XWayland applications would think they always had focus.
Unification ensures surface activeness is kept up to date
Removes the unused surface parameter from viv_view_focus, since the picking of
the surface is now automattic based on the view
Just like with keyboard focus, update the mouse focus when the workspace
changes. Thin ensures that surfaces get information right away, rather than
having to wait for the user to move the mouse
@inclement
Copy link
Owner

Thanks, code change looks good to me, testing now

@inclement
Copy link
Owner

Sorry, I totally forgot to come back and merge this - I've been running it in my own config since my last post without noticing any issues so definitely looking fine.

@inclement inclement merged commit d867c6b into inclement:main Nov 13, 2022
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