xfreerdp-client: fixed pan lag

This commit is contained in:
C-o-r-E 2013-05-14 12:01:18 -04:00
parent 95ba742b69
commit 152af5bfc9

View File

@ -321,7 +321,7 @@ BOOL xf_kbd_handle_special_keys(xfInfo* xfi, KeySym keysym)
if(xfi->offset_x < 0)
xfi->offset_x = 0;
xf_draw_screen_scaled(xfi);
printf("pan left : %d\n", xfi->offset_x);
return TRUE;
}
@ -334,6 +334,7 @@ BOOL xf_kbd_handle_special_keys(xfInfo* xfi, KeySym keysym)
{
xfi->offset_x += 5;
xf_draw_screen_scaled(xfi);
printf("pan right : %d\n", xfi->offset_x);
return TRUE;
}