Commit 065d1a0
committed
fix: macOS Korean IME trigger key handling
Port of rust-windowing#4478 to v0.30.13.
Bug 1 - Space double input: Clear marked_text immediately after commit
to prevent subsequent insertText calls from being treated as IME commits.
Bug 2 - Trigger key drop (comma, period, etc.): Remove the early return
guard in doCommandBySelector when ImeState::Committed, which was
swallowing ASCII key commands after IME commit.
When upstream PR rust-windowing#4478 is merged and released,
this fork should be replaced with the official winit release.
Reference: rust-windowing#44781 parent e9809ef commit 065d1a0
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
412 | 417 | | |
413 | 418 | | |
414 | 419 | | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
415 | 426 | | |
416 | 427 | | |
417 | 428 | | |
| |||
420 | 431 | | |
421 | 432 | | |
422 | 433 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | 434 | | |
430 | 435 | | |
431 | 436 | | |
| |||
0 commit comments