]> git.eshelyaron.com Git - emacs.git/commitdiff
(WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages
authorJason Rumney <jasonr@gnu.org>
Sun, 13 Jan 2002 12:13:25 +0000 (12:13 +0000)
committerJason Rumney <jasonr@gnu.org>
Sun, 13 Jan 2002 12:13:25 +0000 (12:13 +0000)
for mice with more than 3 buttons.

src/w32term.h

index 8dce3c8d1006e04abc43386ad21a176609c15586..6f120b41b6fd63b0578b850409899059dc2b7965 100644 (file)
@@ -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)