mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
committed by
GitHub
parent
2486f0f1a1
commit
60e91b187a
@@ -1165,8 +1165,7 @@ impl WinitWindow {
|
||||
pub fn set_ime_position(&self, spot: Position) {
|
||||
let scale_factor = self.scale_factor();
|
||||
let logical_spot = spot.to_logical(scale_factor);
|
||||
// TODO(madsmtm): Remove the need for this
|
||||
unsafe { Id::from_shared(self.view()) }.set_ime_position(logical_spot);
|
||||
util::set_ime_position_sync(self, logical_spot);
|
||||
}
|
||||
|
||||
#[inline]
|
||||
|
||||
Reference in New Issue
Block a user