summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 01:47:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 01:47:34 +0300
commit9a970ba6bc80938b56f3ba731bf4614b40ba573d (patch)
treec39a480c1df465d31bd7908664c101ca5cd32fa3 /src/client.cpp
parent5a1214d380a96fa0a1eeeb07a4bfedeae982051a (diff)
downloadmanaplus-9a970ba6bc80938b56f3ba731bf4614b40ba573d.tar.gz
manaplus-9a970ba6bc80938b56f3ba731bf4614b40ba573d.tar.bz2
manaplus-9a970ba6bc80938b56f3ba731bf4614b40ba573d.tar.xz
manaplus-9a970ba6bc80938b56f3ba731bf4614b40ba573d.zip
remove exit on minimisation on SDL2 on Android.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 7717d1e4b..64dd6ed53 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -3235,7 +3235,7 @@ void Client::handleActive(const SDL_Event &event)
}
else
{ // window minimization
-#ifdef ANDROID
+#if defined(ANDROID) && !defined(USE_SDL2)
setState(STATE_EXIT);
#else
setIsMinimized(true);