Allow Android applications to manage back button
This commit is contained in:
@@ -71,10 +71,10 @@ namespace lime {
|
||||
#endif
|
||||
|
||||
#ifndef EMSCRIPTEN
|
||||
SDL_SetHint (SDL_HINT_ANDROID_TRAP_BACK_BUTTON, "0");
|
||||
SDL_SetHint (SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
|
||||
#endif
|
||||
|
||||
|
||||
if (flags & WINDOW_FLAG_HARDWARE) {
|
||||
|
||||
sdlWindowFlags |= SDL_WINDOW_OPENGL;
|
||||
|
||||
Reference in New Issue
Block a user