VirtualBox

Ignore:
Timestamp:
Apr 19, 2011 8:57:30 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71244
Message:

Main/KeyboardImpl: when sending host+del to the guest, send the extended del key not the keypad one to make at least Ubuntu happy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/KeyboardImpl.cpp

    r35638 r36724  
    241241STDMETHODIMP Keyboard::PutCAD()
    242242{
    243     static com::SafeArray<LONG> cadSequence(6);
     243    static com::SafeArray<LONG> cadSequence(8);
    244244
    245245    cadSequence[0] = 0x1d; // Ctrl down
    246246    cadSequence[1] = 0x38; // Alt down
    247     cadSequence[2] = 0x53; // Del down
    248     cadSequence[3] = 0xd3; // Del up
    249     cadSequence[4] = 0xb8; // Alt up
    250     cadSequence[5] = 0x9d; // Ctrl up
     247    cadSequence[2] = 0xe0; // Del down 1
     248    cadSequence[3] = 0x53; // Del down 2
     249    cadSequence[4] = 0xe0; // Del up 1
     250    cadSequence[5] = 0xd3; // Del up 2
     251    cadSequence[6] = 0xb8; // Alt up
     252    cadSequence[7] = 0x9d; // Ctrl up
    251253
    252254    return PutScancodes(ComSafeArrayAsInParam(cadSequence), NULL);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette