Don't force injected hardware messages to be queued in the current
thread.
This commit is contained in:
parent
073d5f2b79
commit
9ff2eea0e1
|
@ -1098,7 +1098,7 @@ void X11DRV_send_keyboard_input( WORD wVk, WORD wScan, DWORD dwFlags, DWORD time
|
||||||
|
|
||||||
SERVER_START_REQ( send_message )
|
SERVER_START_REQ( send_message )
|
||||||
{
|
{
|
||||||
req->id = GetCurrentThreadId();
|
req->id = (injected_flags & LLKHF_INJECTED) ? 0 : GetCurrentThreadId();
|
||||||
req->type = MSG_HARDWARE;
|
req->type = MSG_HARDWARE;
|
||||||
req->flags = 0;
|
req->flags = 0;
|
||||||
req->win = 0;
|
req->win = 0;
|
||||||
|
|
|
@ -149,7 +149,7 @@ static void queue_raw_mouse_message( UINT message, HWND hwnd, DWORD x, DWORD y,
|
||||||
|
|
||||||
SERVER_START_REQ( send_message )
|
SERVER_START_REQ( send_message )
|
||||||
{
|
{
|
||||||
req->id = GetCurrentThreadId();
|
req->id = (injected_flags & LLMHF_INJECTED) ? 0 : GetCurrentThreadId();
|
||||||
req->type = MSG_HARDWARE;
|
req->type = MSG_HARDWARE;
|
||||||
req->flags = 0;
|
req->flags = 0;
|
||||||
req->win = hwnd;
|
req->win = hwnd;
|
||||||
|
|
Loading…
Reference in New Issue