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

im-relay: fix text inputs created while a non-wlr node is focused #2188

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

ammen99
Copy link
Member

@ammen99 ammen99 commented Mar 9, 2024

Fixes #2175
Fixes #2174

@ammen99 ammen99 merged commit bfce476 into master Mar 9, 2024
8 checks passed
@ammen99 ammen99 deleted the fix-2175 branch March 9, 2024 14:06
{
wlr_text_input_v3_send_enter(wlr_text_input, surface);
auto surface = wf::node_to_view(focus)->get_keyboard_focus_surface();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this resolve wf::node_to_view(focus) twice? Can't this second invocation be:

auto surface = view->get_keyboard_focus_surface();

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it could, I missed that

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.

xdg_popup crash Crash when using Super+RMB to resize Discord client
2 participants