summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-09-20 23:18:40 +0200
committerGitHub <noreply@github.com>2019-09-20 23:18:40 +0200
commit2e065d8ad07bb20fede0d0c0b2d33d6628033024 (patch)
tree5c962a35deca66b703542bfcb89c3c8ae2263ca0 /core
parent42af54ff758d51b212c3b45ed89480f2f51535a2 (diff)
parenta7712cc9e4f0451794ad7eb2685786c0f2e954e7 (diff)
Merge pull request #32064 from m4gr3d/propagate_gl_surface_events
Notify for app pause and resume events on Android
Diffstat (limited to 'core')
-rw-r--r--core/os/main_loop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/main_loop.h b/core/os/main_loop.h
index 54e61fd2fa..aca920efcb 100644
--- a/core/os/main_loop.h
+++ b/core/os/main_loop.h
@@ -60,6 +60,8 @@ public:
NOTIFICATION_WM_ABOUT = 1011,
NOTIFICATION_CRASH = 1012,
NOTIFICATION_OS_IME_UPDATE = 1013,
+ NOTIFICATION_APP_RESUMED = 1014,
+ NOTIFICATION_APP_PAUSED = 1015,
};
virtual void input_event(const Ref<InputEvent> &p_event);