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

Workaround OSK issues on electron #3681

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/server/frontend_wayland/text_input_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ void TextInputV1::deactivate(wl_resource *seat)
pending_state.reset();
}

/// Electron appears to call show_input_panel() when commit_state() should be called.
/// Electron appears to call show_input_panel() when commit_state() should be called.
void TextInputV1::show_input_panel()
{
commit_state(0);
Expand All @@ -386,7 +386,7 @@ void TextInputV1::hide_input_panel()

void TextInputV1::reset()
{
pending_state.reset();
pending_state.emplace();
}

void TextInputV1::set_surrounding_text(const std::string &text, uint32_t cursor, uint32_t anchor)
Expand Down
Loading