changeset 158:23badf85abd6

allow button shortcuts to see key up/down, so the monitor key can toggle properly
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 18:26:46 -0700
parents 269de016813d
children 13ca2a7a63f3
files src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Mon Jun 23 18:25:48 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Mon Jun 23 18:26:46 2014 -0700
@@ -146,7 +146,7 @@
             if (bridge.isDisconnected()) return false;
 
             // short cuts can see repeat counts and key up/down
-            if (handleShortcuts(v, event, repeat, (event.getAction() == KeyEvent.ACTION_DOWN))) return true;
+            if (handleShortcuts(v, keyCode, event, repeat, (event.getAction() == KeyEvent.ACTION_DOWN))) return true;
 
             // Ignore all key-up events except for the special keys
             if (event.getAction() == KeyEvent.ACTION_UP) {