Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6366


Ignore:
Timestamp:
Dec 16, 2009, 9:44:22 PM (15 years ago)
Author:
rgrieder
Message:

Fixed alt+tab problem: This key combination should be ignored on all platforms and in all input handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/input/Keyboard.cc

    r5781 r6366  
    4343            modifiers_ |= KeyboardModifier::Shift; // shift key
    4444
     45        // Do not distribute the alt+tab event (messes with the operating system)
     46        if ((modifiers_ & KeyboardModifier::Alt) != 0 && arg.key == OIS::KC_TAB)
     47            return true;
     48
    4549        KeyEvent evt(arg);
    4650        super::buttonPressed(evt);
Note: See TracChangeset for help on using the changeset viewer.