comparison src/w32term.c @ 51269:0e4f36767c58

(GET_WHEEL_DELTA_WPARAM): New macro.
author Jason Rumney <jasonr@gnu.org>
date Tue, 27 May 2003 21:18:22 +0000
parents a35e5665c742
children 827c306f0515
comparison
equal deleted inserted replaced
51268:7e1ab6f8e58b 51269:0e4f36767c58
70 70
71 /* Temporary variables for w32_read_socket. */ 71 /* Temporary variables for w32_read_socket. */
72 72
73 static int last_mousemove_x = 0; 73 static int last_mousemove_x = 0;
74 static int last_mousemove_y = 0; 74 static int last_mousemove_y = 0;
75
76 /* Define GET_WHEEL_DELTA_WPARAM macro if system headers don't. */
77 #ifndef GET_WHEEL_DELTA_WPARAM
78 #define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
79 #endif
75 80
76 /* Non-zero means that a HELP_EVENT has been generated since Emacs 81 /* Non-zero means that a HELP_EVENT has been generated since Emacs
77 start. */ 82 start. */
78 83
79 static int any_help_event_p; 84 static int any_help_event_p;