xfreerdp-client: fixed pan gesture
This commit is contained in:
parent
ac544a0718
commit
0c46350ccd
@ -192,6 +192,11 @@ void xf_input_detect_pan(xfInfo* xfi)
|
||||
double dist_x;
|
||||
double dist_y;
|
||||
|
||||
if (active_contacts != 2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
dx[0] = contacts[0].pos_x - contacts[0].last_x;
|
||||
dx[1] = contacts[1].pos_x - contacts[1].last_x;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user