From 157fbba039dc8ee0f7ed414791c72277aaf80831 Mon Sep 17 00:00:00 2001 From: David Athay Date: Mon, 21 Jul 2008 16:49:22 +0000 Subject: Commit of Alt-Gr fix for Rotonen --- ChangeLog | 5 +++++ src/game.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 30665053..e2a3abfa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-21 David Athay + + * src/game.cpp: Initial attempt at fixing Alt-Gr issue for Rotonen, + this commit is just for him! + 2008-07-18 Bjørn Lindeijer * 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 -- cgit v1.2.3-70-g09d2