mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Fixed IME cursor location (thanks @zturtleman!)
This commit is contained in:
parent
50ae47af5e
commit
c347bee7b8
2 changed files with 2 additions and 2 deletions
|
|
@ -694,7 +694,7 @@ void SDL_IBus_UpdateTextInputArea(SDL_Window *window)
|
|||
|
||||
// We'll use a square at the text input cursor location for the ibus_cursor
|
||||
ibus_cursor_rect.x = window->text_input_rect.x + window->text_input_cursor;
|
||||
ibus_cursor_rect.y = window->text_input_rect.x;
|
||||
ibus_cursor_rect.y = window->text_input_rect.y;
|
||||
ibus_cursor_rect.w = window->text_input_rect.h;
|
||||
ibus_cursor_rect.h = window->text_input_rect.h;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue