Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 20, 2007, 8:01:43 PM (16 years ago)
Author:
nicolasc
Message:

fixed auto repeat problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/Orxonox.cc

    r637 r663  
    423423    std::ostringstream windowHndStr;
    424424    OIS::ParamList pl;
     425
     426    // fixes auto repeat problem
     427    #if defined OIS_LINUX_PLATFORM
     428    pl.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
     429    #endif
     430
    425431    RenderWindow *win = ogre_->getRoot()->getAutoCreatedWindow();
    426 
    427432    win->getCustomAttribute("WINDOW", &windowHnd);
    428433    windowHndStr << windowHnd;
Note: See TracChangeset for help on using the changeset viewer.