From 76e4fd8c61b4bb3d045fd1fdd541a821184ba4d6 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 13 Jan 2002 12:13:25 +0000 Subject: [PATCH] (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages for mice with more than 3 buttons. --- src/w32term.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/w32term.h b/src/w32term.h index 8dce3c8d100..6f120b41b6f 100644 --- a/src/w32term.h +++ b/src/w32term.h @@ -699,6 +699,10 @@ extern void w32_unload_font (); #ifndef MSH_MOUSEWHEEL #define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" #endif /* MSH_MOUSEWHEEL */ +#ifndef WM_XBUTTONDOWN +#define WM_XBUTTONDOWN (WM_MOUSEWHEEL + 1) +#define WM_XBUTTONUP (WM_MOUSEWHEEL + 2) +#endif /* WM_XBUTTONDOWN */ #define WM_EMACS_START (WM_USER + 1) #define WM_EMACS_KILL (WM_EMACS_START + 0) -- 2.39.5