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
Notify the embedder when it should display or hide an IME #20676
Changes from all commits
File filter...
Jump to…
Notify the embedder when it should display or hide an IME
- Loading branch information
| @@ -1247,6 +1247,14 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF> | ||
| FromScriptMsg::SetFullscreenState(state) => { | ||
| self.embedder_proxy.send(EmbedderMsg::SetFullscreenState(source_top_ctx_id, state)); | ||
| } | ||
| FromScriptMsg::ShowIME(kind) => { | ||
| debug!("constellation got ShowIME message"); | ||
| self.embedder_proxy.send(EmbedderMsg::ShowIME(source_top_ctx_id, kind)); | ||
fabricedesre
Author
Contributor
|
||
| } | ||
| FromScriptMsg::HideIME => { | ||
| debug!("constellation got HideIME message"); | ||
| self.embedder_proxy.send(EmbedderMsg::HideIME(source_top_ctx_id)); | ||
| } | ||
| } | ||
| } | ||
|
|
||
I think I would rather have us talk to the embedder from the script thread instead of going through the constellation.