From a153b2cdf31f3dcecd54651f14342253dcc21617 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Tue, 18 Feb 2020 22:18:34 +0800 Subject: [PATCH] add system message MSG_MANAGE_MSGTHREAD --- include/window.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/window.h b/include/window.h index f90ae5a9..7763ed1a 100644 --- a/include/window.h +++ b/include/window.h @@ -2907,6 +2907,11 @@ typedef struct _WINMASKINFO { #endif /* defined _MGRM_PROCESSES */ +/* Since 5.0.0: for managing message thread */ +#define MSG_MANAGE_MSGTHREAD 0x014A + #define MSGTHREAD_SIGNIN 0x00 + #define MSGTHREAD_SIGNOUT 0x01 + /** * \def MSG_DOESNEEDIME * \brief Sends to a window to query whether the window needs to open @@ -6432,7 +6437,7 @@ static inline int GUIAPI CreateThreadForMainWindow (pthread_t* thread, pthread_attr_t* attr, void * (*start_routine)(void *), void* arg) { return CreateThreadForMessaging (thread, attr, start_routine, arg, - FALSE, 16); + TRUE, 16); } /**