From ab8ea8b559e1cc98d451fb44a8be9a7db86e850e Mon Sep 17 00:00:00 2001 From: kumattau Date: Wed, 11 May 2022 23:32:58 +0900 Subject: [PATCH] Fix X11 IME candidate window position --- window/src/os/x11/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window/src/os/x11/window.rs b/window/src/os/x11/window.rs index a979e0fe3..f2931fd50 100644 --- a/window/src/os/x11/window.rs +++ b/window/src/os/x11/window.rs @@ -1147,7 +1147,7 @@ impl XWindowInner { self.conn().ime.borrow_mut().update_pos( self.window_id, self.last_cursor_position.min_x() as i16, - (self.last_cursor_position.max_y() + self.last_cursor_position.height()) as i16, + self.last_cursor_position.max_y() as i16, ); }