VirtualBox

Changeset 77680 in vbox


Ignore:
Timestamp:
Mar 13, 2019 2:59:39 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: disallow the use of Pause as a host key on Windows.
ticketref:18482:Using pause button as host key works differently.
Windows handles the pause key in a rather special way. Easier not to allow it
as a host key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.cpp

    r76606 r77680  
    232232#elif defined(VBOX_WS_WIN)
    233233
    234     return (iKeyCode >= VK_SHIFT  && iKeyCode <= VK_CAPITAL)
     234    return (   iKeyCode >= VK_SHIFT  && iKeyCode <= VK_CAPITAL
     235            && iKeyCode != VK_PAUSE)
    235236        || (iKeyCode >= VK_LSHIFT && iKeyCode <= VK_RMENU)
    236237        || (iKeyCode >= VK_F1     && iKeyCode <= VK_F24)
Note: See TracChangeset for help on using the changeset viewer.

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