summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
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);