Ticket #43: 43.patch

File 43.patch, 464 bytes (added by anabee_emacs, 9 years ago)
  • uspace/srv/hid/console/console.c

    === modified file 'uspace/srv/hid/console/console.c'
     
    249249    keymod_t mods, wchar_t c)
    250250{
    251251        if ((key >= KC_F1) && (key <= KC_F1 + CONSOLE_COUNT) &&
    252             ((mods & KM_CTRL) == 0)) {
     252            (((mods & KM_LALT) == 1) || ((mods & KM_RALT) == 1))) {
    253253                cons_switch(key - KC_F1);
    254254        } else {
    255255                /* Got key press/release event */