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

Add xdg_activation support #30

Closed
kchibisov opened this issue Sep 30, 2023 · 2 comments · Fixed by #432
Closed

Add xdg_activation support #30

kchibisov opened this issue Sep 30, 2023 · 2 comments · Fixed by #432
Labels
enhancement New feature or request

Comments

@kchibisov
Copy link
Contributor

This is quite useful protocol to indicate urgency, transfer focus, and raise windows.

Unfortunately, it's not clear how to implement it in a usable way with the scrolling compositor...

@YaLTeR YaLTeR added the enhancement New feature or request label Oct 1, 2023
@YaLTeR
Copy link
Owner

YaLTeR commented Oct 1, 2023

urgency

https://wayland.app/protocols/xdg-activation-v1 doesn't seem to have urgency? Just window activation.

Unfortunately, it's not clear how to implement it in a usable way with the scrolling compositor...

I guess simply switching to the right workspace and focusing the right window?

@kchibisov
Copy link
Contributor Author

You can implement urgency based on how and when window submits token, and how token is being built. You can see what sway does for example. It's all based on heuristics, so it's up to compositor to decide what mark as urgent, when to transfer focus, etc.

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

Successfully merging a pull request may close this issue.

2 participants