1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 13:21:38 +03:00

Fix X11 IME candidate window position

This commit is contained in:
kumattau 2022-05-11 23:32:58 +09:00 committed by Wez Furlong
parent ae4e3a65a2
commit ab8ea8b559

View File

@ -1147,7 +1147,7 @@ impl XWindowInner {
self.conn().ime.borrow_mut().update_pos( self.conn().ime.borrow_mut().update_pos(
self.window_id, self.window_id,
self.last_cursor_position.min_x() as i16, 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,
); );
} }