summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 19:12:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:16 +0300
commit270d6d2753473955a2b691a934eb2e550d13ebc3 (patch)
tree2ba55bab0c21b1775bfcd85e80d24cbfbbe652e9 /src/client.cpp
parentc7f5d0a71d7318ccc4c3f28ab90d688a1a0868b3 (diff)
downloadmanaplus-270d6d2753473955a2b691a934eb2e550d13ebc3.tar.gz
manaplus-270d6d2753473955a2b691a934eb2e550d13ebc3.tar.bz2
manaplus-270d6d2753473955a2b691a934eb2e550d13ebc3.tar.xz
manaplus-270d6d2753473955a2b691a934eb2e550d13ebc3.zip
fix gui text input in SDL2.
copy/paste broken for SDL2.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ea1da8247..9fa220b8c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3001,6 +3001,9 @@ void Client::logEvent(const SDL_Event &event)
str.c_str(), data1, data2);
break;
}
+ case SDL_TEXTINPUT:
+ logger->log("event: SDL_TEXTINPUT: %s", event.text.text);
+ break;
#else
case SDL_KEYDOWN:
logger->log("event: SDL_KEYDOWN: %d,%d,%d", event.key.state,