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

Give input focus to globally active clients #168

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

Conversation

DemiMarie
Copy link
Contributor

This technically violates the ICCCM, but the alternative is not much
better: these windows will have focus in the GUI qube, so not giving
them focus on the agent side will cause the X state to no longer be the
same on both sides. Worse, such clients might not be expecting to lose
focus without warning. Explicitly taking focus away from them might
help.

This is based on a similar commit in wlroots.

@DemiMarie DemiMarie closed this Oct 4, 2022
@DemiMarie DemiMarie deleted the set-focus branch October 4, 2022 00:20
@DemiMarie DemiMarie restored the set-focus branch October 4, 2022 00:22
@DemiMarie DemiMarie reopened this Oct 4, 2022
This technically violates the ICCCM, but the alternative is not much
better: these windows *will* have focus in the GUI qube, so not giving
them focus on the agent side will cause the X state to no longer be the
same on both sides.  Worse, such clients might not be expecting to lose
focus without warning.  Explicitly taking focus away from them might
help.

This is based on a similar commit in wlroots.
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.

1 participant