summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/game.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 30665053..e2a3abfa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-21 David Athay <ko2fan@gmail.com>
+
+ * src/game.cpp: Initial attempt at fixing Alt-Gr issue for Rotonen,
+ this commit is just for him!
+
2008-07-18 Bjørn Lindeijer <bjorn@lindeijer.nl>
* src/main.cpp: Remove possible trailing slash at the end of the
diff --git a/src/game.cpp b/src/game.cpp
index 58c28640..0c855669 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -465,7 +465,7 @@ void Game::handleInput()
// Keys pressed together with Alt/Meta
// Emotions and some internal gui windows
#ifndef __APPLE__
- if (event.key.keysym.mod & KMOD_ALT)
+ if (event.key.keysym.mod & KMOD_ALT && event.key.keysym.mod ^ KMOD_CTRL)
#else
if (event.key.keysym.mod & KMOD_LMETA)
#endif