Merge pull request #2918 from dcz-self/master

Report cursor size to input method
This commit is contained in:
Héctor 2025-11-25 22:51:48 +01:00 committed by GitHub
commit b89c412496
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 25 deletions

View file

@ -785,10 +785,10 @@ where
);
if !had_input_method
&& let InputMethod::Enabled { position, .. } =
&& let InputMethod::Enabled { cursor, .. } =
shell.input_method_mut()
{
*position = *position - translation;
*cursor = *cursor - translation;
}
};