[Orxonox-commit 1200] r5921 - code/branches/core5/src/libraries/core/input
scheusso at orxonox.net
scheusso at orxonox.net
Fri Oct 9 17:09:26 CEST 2009
Author: scheusso
Date: 2009-10-09 17:09:26 +0200 (Fri, 09 Oct 2009)
New Revision: 5921
Modified:
code/branches/core5/src/libraries/core/input/InputManager.cc
Log:
build fix for linux
Modified: code/branches/core5/src/libraries/core/input/InputManager.cc
===================================================================
--- code/branches/core5/src/libraries/core/input/InputManager.cc 2009-10-09 15:04:23 UTC (rev 5920)
+++ code/branches/core5/src/libraries/core/input/InputManager.cc 2009-10-09 15:09:26 UTC (rev 5921)
@@ -167,7 +167,7 @@
// Trouble might be that the Pressed event occurs a bit too often...
paramList.insert(std::make_pair("XAutoRepeatOn", "true"));
- if (bExclusiveMouse_ || GraphicsManager::getInstance().isFullScreen())
+ if (mouseMode_ == MouseMode::Exclusive || GraphicsManager::getInstance().isFullScreen())
{
if (CommandLine::getValue("keyboard_no_grab").getBool())
paramList.insert(std::make_pair("x11_keyboard_grab", "false"));
More information about the Orxonox-commit
mailing list