Skip to content

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