mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
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;
|
||||
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()) {
|
||||
toggleConversationsOverview();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user