Merge pull request #1895 from pp3345/right-alt
Do not treat Right Alt key as a modifier for key combos
This commit is contained in:
commit
b88128241e
|
@ -949,7 +949,7 @@ public class ConversationActivity extends XmppActivity
|
||||||
upKey = KeyEvent.KEYCODE_DPAD_UP;
|
upKey = KeyEvent.KEYCODE_DPAD_UP;
|
||||||
downKey = KeyEvent.KEYCODE_DPAD_DOWN;
|
downKey = KeyEvent.KEYCODE_DPAD_DOWN;
|
||||||
}
|
}
|
||||||
final boolean modifier = event.isCtrlPressed() || event.isAltPressed();
|
final boolean modifier = event.isCtrlPressed() || (event.getMetaState() & KeyEvent.META_ALT_LEFT_ON) != 0;
|
||||||
if (modifier && key == KeyEvent.KEYCODE_TAB && isConversationsOverviewHideable()) {
|
if (modifier && key == KeyEvent.KEYCODE_TAB && isConversationsOverviewHideable()) {
|
||||||
toggleConversationsOverview();
|
toggleConversationsOverview();
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue