From 52ddec51de92763f824c79e5693987de6c79fe51 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Thu, 20 Feb 2020 12:37:41 +0800 Subject: [PATCH] move _MG_CONFIG_FAST_MOUSEMOVE to constants.h from cursor.h --- src/include/constants.h | 3 +++ src/include/cursor.h | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/constants.h b/src/include/constants.h index d6727bd4..4ee9362b 100644 --- a/src/include/constants.h +++ b/src/include/constants.h @@ -189,5 +189,8 @@ enum { /* round n to multiple of m */ #define ROUND_TO_MULTIPLE(n, m) (((n) + (((m) - 1))) & ~((m) - 1)) +/* Use shared memory to emulate MSG_MOUSEMOVE message */ +#define _MG_CONFIG_FAST_MOUSEMOVE 1 + #endif /* GUI_CONSTANTS_H */ diff --git a/src/include/cursor.h b/src/include/cursor.h index 5741b4e5..f45945d7 100644 --- a/src/include/cursor.h +++ b/src/include/cursor.h @@ -105,9 +105,6 @@ void mg_TerminateCursor(void); #ifndef _MGRM_THREADS -/* Use shared memory to emulate MSG_MOUSEMOVE message */ -#define _MG_CONFIG_FAST_MOUSEMOVE 1 - /* show cursor hidden by client GDI function */ void kernel_ReShowCursor (void);