summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-11 16:34:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-11 16:42:31 -0300
commitb7d69c2444354e526e4112d9c65423e9fd311f27 (patch)
tree42249b9c4928059efd074ab886b5ef36dc947563 /core/os
parent7bf4b592f806caeb9112d026bc650889e509e930 (diff)
Added a BACK notification besides QUIT, so they go in separate channels.
Diffstat (limited to 'core/os')
-rw-r--r--core/os/main_loop.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/os/main_loop.h b/core/os/main_loop.h
index 5251061423..456a6be4d3 100644
--- a/core/os/main_loop.h
+++ b/core/os/main_loop.h
@@ -47,11 +47,12 @@ protected:
public:
enum {
- NOTIFICATION_WM_MOUSE_ENTER = 3,
- NOTIFICATION_WM_MOUSE_EXIT = 4,
- NOTIFICATION_WM_FOCUS_IN = 5,
- NOTIFICATION_WM_FOCUS_OUT = 6,
- NOTIFICATION_WM_QUIT_REQUEST = 7,
+ NOTIFICATION_WM_MOUSE_ENTER = 2,
+ NOTIFICATION_WM_MOUSE_EXIT = 3,
+ NOTIFICATION_WM_FOCUS_IN = 4,
+ NOTIFICATION_WM_FOCUS_OUT = 5,
+ NOTIFICATION_WM_QUIT_REQUEST = 6,
+ NOTIFICATION_WM_GO_BACK_REQUEST = 7,
NOTIFICATION_WM_UNFOCUS_REQUEST = 8,
NOTIFICATION_OS_MEMORY_WARNING = 9,
NOTIFICATION_TRANSLATION_CHANGED = 10,