Merge pull request #1470 from bmiklautz/issue/773

x11/client: win8/server 2k12 fix for kbd sync
This commit is contained in:
Bernhard Miklautz 2013-09-16 03:15:53 -07:00
commit b70835d73d

View File

@ -1407,9 +1407,15 @@ void* xf_thread(void* param)
rcount = 0;
wcount = 0;
/*
* win8 and server 2k12 seem to have some timing issue/race condition
* when a initial sync request is send to sync the keyboard inidcators
* sending the sync event twice fixed this problem
*/
if (freerdp_focus_required(instance))
{
xf_kbd_focus_in(xfc);
xf_kbd_focus_in(xfc);
}
if (!async_transport)