wayland: Fix regression in dead keys caused by #12495 (#17465)

Related to
https://github.com/zed-industries/zed/pull/12495#issuecomment-2332414008

Release Notes:

- N/A
This commit is contained in:
Fernando Tagawa 2024-09-05 22:13:00 -03:00 committed by GitHub
parent b623958b7a
commit 30f70ff110
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View file

@ -1012,9 +1012,7 @@ impl PlatformWindow for WaylandWindow {
fn update_ime_position(&self, bounds: Bounds<Pixels>) {
let state = self.borrow();
let client = state.client.clone();
drop(state);
client.update_ime_position(bounds);
state.client.update_ime_position(bounds);
}
fn gpu_specs(&self) -> Option<GPUSpecs> {