Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2011, 1:25:46 AM (13 years ago)
Author:
landauf
Message:

WindowEventListener now declares if the window's focus is active or not.
CEGUI stops highlighting menu items if the window's focus is lost, i.e. after pressing alt+tab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GraphicsManager.cc

    r7870 r7874  
    7575            { orxonox::WindowEventListener::resizeWindow(rw->getWidth(), rw->getHeight()); }
    7676        void windowFocusChange (Ogre::RenderWindow* rw)
    77             { orxonox::WindowEventListener::changeWindowFocus(); }
     77            { orxonox::WindowEventListener::changeWindowFocus(rw->isActive()); }
    7878        void windowClosed      (Ogre::RenderWindow* rw)
    7979            { orxonox::Game::getInstance().stop(); }
Note: See TracChangeset for help on using the changeset viewer.