Skip to content

xwayland: offer focus in global active cases #2780

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

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

Conversation

ssfdust
Copy link
Contributor

@ssfdust ssfdust commented Aug 16, 2025

Not all diglogs want focus though they are focusable. In some strange cases, (e.g. WeChat, a famous chat application in China), the application's popup has both NORMAL and UTILITY type, we need to call wlr_xwayland_surface_offer_focus() for these views, in case they actually don't want focus.

@ssfdust
Copy link
Contributor Author

ssfdust commented Aug 16, 2025

Relate:
labwc/labwc#2811
labwc/labwc#2791

@ssfdust ssfdust force-pushed the fix_wechat_popup branch 2 times, most recently from 549ec8e to b5576f1 Compare August 16, 2025 03:09
Not all diglogs want focus though they are focusable. In some strange
cases, (e.g. WeChat, a famous chat application in China), the application's
popup has both NORMAL and UTILITY type, we need to call
wlr_xwayland_surface_offer_focus() for these views, in case they actually
don't want focus.
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