Report cursor size to InputMethod

Co-authored-by: dcz-self <dcz-self@users.noreply.github.com>
This commit is contained in:
dcz 2025-05-01 13:03:54 +00:00 committed by Héctor Ramón Jiménez
parent e163333161
commit d22da7d261
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 31 additions and 20 deletions

View file

@ -428,7 +428,10 @@ where
+ alignment_offset;
InputMethod::Enabled {
position: Point::new(x, text_bounds.y + text_bounds.height),
cursor: Rectangle::new(
Point::new(x, text_bounds.y),
Size::new(0.0, text_bounds.height),
),
purpose: if self.is_secure {
input_method::Purpose::Secure
} else {