VirtualBox

Ignore:
Timestamp:
Dec 31, 2014 2:59:44 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97393
Message:

scm automatic cleanups.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/win/WinKeyboard.cpp

    r53319 r53624  
    1717
    1818#define LOG_GROUP LOG_GROUP_GUI
    19  
     19
    2020#include "WinKeyboard.h"
    2121#include <iprt/assert.h>
     
    181181  * no AltGr key in the layout then it will run right through, but that should
    182182  * hopefully not happen very often.
    183   * 
     183  *
    184184  * In theory we could do this once and cache the result, but that involves
    185185  * tracking layout switches to invalidate the cache, and I don't think that the
     
    272272        return false;
    273273
    274         if (messageTime != peekMsg.time)
    275             return false;
    276         if (   fKeyDown
     274        if (messageTime != peekMsg.time)
     275            return false;
     276        if (   fKeyDown
    277277        && (peekMsg.message != WM_KEYDOWN && peekMsg.message != WM_SYSKEYDOWN))
    278278        return false;
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r53221 r53624  
    7575# include "WinKeyboard.h"
    7676#endif /* Q_WS_WIN */
    77  
     77
    7878/* Enums representing different keyboard-states: */
    7979enum { KeyExtended = 0x01, KeyPressed = 0x02, KeyPause = 0x04, KeyPrint = 0x08 };
     
    183183    NOREF(pDisplay);
    184184    struct CHECKFORX11FOCUSEVENTSDATA *pStruct;
    185    
     185
    186186    pStruct = (struct CHECKFORX11FOCUSEVENTSDATA *)pArg;
    187187    if (   pEvent->xany.type == XFocusIn
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r53406 r53624  
    19821982    {
    19831983#if defined(Q_WS_MAC)
    1984         DarwinHidDevicesApplyAndReleaseLedsState(m_pHostLedsState);
     1984        DarwinHidDevicesApplyAndReleaseLedsState(m_pHostLedsState);
    19851985#elif defined(Q_WS_WIN)
    19861986        keyboardHandler()->winSkipKeyboardEvents(true);
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