...
This commit is contained in:
parent
b2bfc4408e
commit
7023c7a8ae
@ -1128,7 +1128,7 @@ is_ascii_control_char(char x) {
|
|||||||
// keyboard unicode data is not available.
|
// keyboard unicode data is not available.
|
||||||
if (process_text) {
|
if (process_text) {
|
||||||
// this will call insertText with the text for this event, if any
|
// this will call insertText with the text for this event, if any
|
||||||
[self interpretKeyEvents:[NSArray arrayWithObject:event]];
|
[self interpretKeyEvents:@[event]];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
static UniChar text[256];
|
static UniChar text[256];
|
||||||
@ -1156,7 +1156,7 @@ is_ascii_control_char(char x) {
|
|||||||
marked_text_cleared_by_insert = false;
|
marked_text_cleared_by_insert = false;
|
||||||
if (process_text) {
|
if (process_text) {
|
||||||
// this will call insertText which will fill up _glfw.ns.text
|
// this will call insertText which will fill up _glfw.ns.text
|
||||||
[self interpretKeyEvents:[NSArray arrayWithObject:event]];
|
[self interpretKeyEvents:@[event]];
|
||||||
} else {
|
} else {
|
||||||
window->ns.deadKeyState = 0;
|
window->ns.deadKeyState = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user