Commit af3a05ed authored by Jason Rumney's avatar Jason Rumney

(GET_WHEEL_DELTA_WPARAM): New macro.

parent 2b5d4601
......@@ -73,6 +73,11 @@ Lisp_Object Vx_toolkit_scroll_bars;
static int last_mousemove_x = 0;
static int last_mousemove_y = 0;
/* Define GET_WHEEL_DELTA_WPARAM macro if system headers don't. */
#ifndef GET_WHEEL_DELTA_WPARAM
#define GET_WHEEL_DELTA_WPARAM(wparam) ((short)HIWORD (wparam))
#endif
/* Non-zero means that a HELP_EVENT has been generated since Emacs
start. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment