This commit is contained in:
Kovid Goyal 2021-03-23 16:31:25 +05:30
parent 34d06fa3e9
commit df7790fdfe
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1296,10 +1296,10 @@ is_ascii_control_char(char x) {
}
void _glfwPlatformUpdateIMEState(_GLFWwindow *w, const GLFWIMEUpdateEvent *ev) {
[w->ns.view updateIMEStateFor: which left:(CGFloat)ev->cursor.left top:(CGFloat)ev->cursor.top cellWidth:(CGFloat)ev->cursor.width cellHeight:(CGFloat)ev->cursor.height];
[w->ns.view updateIMEStateFor: ev->type left:(CGFloat)ev->cursor.left top:(CGFloat)ev->cursor.top cellWidth:(CGFloat)ev->cursor.width cellHeight:(CGFloat)ev->cursor.height];
}
- (void)updateIMEStateFor:(GLFWIMEUpdateState)which
- (void)updateIMEStateFor:(GLFWIMEUpdateType)which
left:(CGFloat)left
top:(CGFloat)top
cellWidth:(CGFloat)cellWidth