xfreerdp-client: xi tweak

This commit is contained in:
corey 2013-04-25 15:28:11 -04:00
parent 2e12556cee
commit 4fce04bc9a
1 changed files with 2 additions and 2 deletions

View File

@ -992,12 +992,12 @@ BOOL xf_event_process(freerdp* instance, XEvent* event)
if ( event->xcookie.type == GenericEvent &&
event->xcookie.extension == xfi->XInputOpcode)
{
switch(event->xcookie.evtype)
switch(cookie.evtype)
{
case XI_ButtonPress:
case XI_Motion:
case XI_KeyPress:
printf("Touch\n");
printf("Touch %d\n", cookie->evtype);
//do_something(ev.xcookie.data);
break;
}