Okay different experiment
This commit is contained in:
parent
c231d524e6
commit
9625ce293e
|
@ -919,6 +919,9 @@ mac_toggle_fullscreen(void){
|
||||||
// NOTE(yuval): Process keyboard event
|
// NOTE(yuval): Process keyboard event
|
||||||
[self process_keyboard_event:event down:true];
|
[self process_keyboard_event:event down:true];
|
||||||
|
|
||||||
|
[self interpretKeyEvents:[NSArray arrayWithObject:event]]
|
||||||
|
|
||||||
|
#if 0
|
||||||
// NOTE(yuval): Process TextInsert event
|
// NOTE(yuval): Process TextInsert event
|
||||||
{
|
{
|
||||||
NSString *characters = [event characters];
|
NSString *characters = [event characters];
|
||||||
|
@ -943,7 +946,6 @@ mac_toggle_fullscreen(void){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Input_Event *event = push_input_event(&mac_vars.frame_arena, &mac_vars.input_chunk.trans.event_list);
|
Input_Event *event = push_input_event(&mac_vars.frame_arena, &mac_vars.input_chunk.trans.event_list);
|
||||||
event->kind = InputEventKind_TextInsert;
|
event->kind = InputEventKind_TextInsert;
|
||||||
event->text.string = str_8;
|
event->text.string = str_8;
|
||||||
|
@ -961,6 +963,7 @@ mac_toggle_fullscreen(void){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)keyUp:(NSEvent*)event{
|
- (void)keyUp:(NSEvent*)event{
|
||||||
|
|
Loading…
Reference in New Issue