fix right click
This commit is contained in:
parent
7554ab9a02
commit
84eea9c55a
@ -294,10 +294,10 @@ public class SessionView extends View {
|
||||
sessionViewListener.onSessionViewLeftTouch((int) mappedEvent.getX(), (int) mappedEvent.getY(), false);
|
||||
break;
|
||||
case MotionEvent.BUTTON_SECONDARY:
|
||||
LibFreeRDP.sendCursorEvent(currentSession.getInstance(),
|
||||
(int) mappedEvent.getX(), (int) mappedEvent.getY(), Mouse.getRightButtonEvent(getContext(), true));
|
||||
LibFreeRDP.sendCursorEvent(currentSession.getInstance(),
|
||||
(int) mappedEvent.getX(), (int) mappedEvent.getY(), Mouse.getRightButtonEvent(getContext(), false));
|
||||
sessionViewListener.onSessionViewRightTouch((int) mappedEvent.getX(), (int) mappedEvent.getY(), true);
|
||||
sessionViewListener.onSessionViewRightTouch((int) mappedEvent.getX(), (int) mappedEvent.getY(), false);
|
||||
sessionViewListener.onSessionViewLeftTouch((int) mappedEvent.getX(), (int) mappedEvent.getY(), true);
|
||||
sessionViewListener.onSessionViewLeftTouch((int) mappedEvent.getX(), (int) mappedEvent.getY(), false);
|
||||
break;
|
||||
}
|
||||
sessionViewListener.onSessionViewEndTouch();
|
||||
|
Loading…
Reference in New Issue
Block a user