mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 14:49:07 -04:00
@@ -1503,9 +1503,9 @@ unsafe fn public_window_callback_inner(
|
||||
},
|
||||
|
||||
WM_IME_SETCONTEXT => {
|
||||
// Hide composing text drawn by IME.
|
||||
let wparam = wparam & (!ISC_SHOWUICOMPOSITIONWINDOW as usize);
|
||||
result = ProcResult::DefWindowProc(wparam);
|
||||
// IME UI visibility flags are in lparam.
|
||||
let lparam = lparam & !(ISC_SHOWUICOMPOSITIONWINDOW as isize);
|
||||
result = ProcResult::Value(unsafe { DefWindowProcW(window, msg, wparam, lparam) });
|
||||
},
|
||||
|
||||
// this is necessary for us to maintain minimize/restore state
|
||||
|
||||
@@ -55,5 +55,6 @@ changelog entry.
|
||||
- On Redox, handle `EINTR` when reading from `event_socket` instead of panicking.
|
||||
- On Wayland, switch from using the `ahash` hashing algorithm to `foldhash`.
|
||||
- On macOS, fix borderless game presentation options not sticking after switching spaces.
|
||||
- On Windows, fix `WM_IME_SETCONTEXT` IME UI flag masking on `lParam`.
|
||||
- On macOS, fix crash in `set_marked_text` when native Pinyin IME sends out-of-bounds `selected_range`.
|
||||
- On X11, fix debug mode overflow panic in `set_timestamp`.
|
||||
|
||||
Reference in New Issue
Block a user