Skip to content

Commit e659532

Browse files
committed
Bugfix for back button not sending right-click effectively to certain applications
1 parent dc8b51c commit e659532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

remoteClientLib/src/main/java/com/undatech/opaque/input/RemotePointer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ public boolean hardwareButtonsAsMouseEvents(int keyCode, KeyEvent e, int combine
166166

167167
private void rightClickMouse(int combinedMetastate) {
168168
rightButtonDown(getX(), getY(), combinedMetastate);
169-
SystemClock.sleep(50);
170-
releaseButton(getX(), getY(), combinedMetastate);
169+
SystemClock.sleep(5);
170+
moveMouseButtonUp();
171171
}
172172

173173
private void scrollMouse(int keyCode, KeyEvent e) {

0 commit comments

Comments
 (0)