winemac.drv: Set done if macdrv_process_text_input is not processing input.
Prevents an input lockup in this case. Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6c0a8c3592
commit
3736c36736
|
@ -1147,7 +1147,10 @@ void macdrv_process_text_input(UINT vkey, UINT scan, UINT repeat, const BYTE *ke
|
|||
if (thread_data->keyc2vkey[keyc] == vkey) break;
|
||||
|
||||
if (keyc >= ARRAY_SIZE(thread_data->keyc2vkey))
|
||||
{
|
||||
*done = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
TRACE("flags 0x%08x keyc 0x%04x\n", flags, keyc);
|
||||
|
||||
|
|
Loading…
Reference in New Issue