emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/termhooks.h [lexbind]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/src/termhooks.h [lexbind]
Date: Tue, 14 Oct 2003 19:23:25 -0400

Index: emacs/src/termhooks.h
diff -c emacs/src/termhooks.h:1.58.2.1 emacs/src/termhooks.h:1.58.2.2
*** emacs/src/termhooks.h:1.58.2.1      Fri Apr  4 01:21:03 2003
--- emacs/src/termhooks.h       Tue Oct 14 19:22:47 2003
***************
*** 1,6 ****
  /* Hooks by which low level terminal operations
     can be made to call other routines.
!    Copyright (C) 1985, 1986, 1993, 1994 Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
  
--- 1,6 ----
  /* Hooks by which low level terminal operations
     can be made to call other routines.
!    Copyright (C) 1985,86,93,94,2003  Free Software Foundation, Inc.
  
  This file is part of GNU Emacs.
  
***************
*** 240,263 ****
                                   the mouse click occurred in.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the click.  */
! #if defined(WINDOWSNT) || defined(MAC_OSX)
!   MOUSE_WHEEL_EVENT,          /* A mouse-wheel event is generated
!                                  on WINDOWSNT or MAC_OSX by a
!                                  wheel on a mouse (e.g., MS Intellimouse).
!                                  The event contains a delta that corresponds
!                                  to the amount and direction that the wheel
!                                  is rotated.  This delta is typically
!                                  used to implement a scroll or zoom.
!                                  .code gives the delta.
!                                  .modifiers holds the state of the
!                                  modifier keys.
                                   .x and .y give the mouse position,
                                   in characters, within the window.
                                   .frame_or_window gives the frame
                                   the wheel event occurred in.
                                   .timestamp gives a timestamp (in
!                                  milliseconds) for the wheel event.  */
! #endif
  #ifdef WINDOWSNT
    LANGUAGE_CHANGE_EVENT,      /* A LANGUAGE_CHANGE_EVENT is generated
                                   on WINDOWSNT when the keyboard layout
--- 240,257 ----
                                   the mouse click occurred in.
                                   .timestamp gives a timestamp (in
                                   milliseconds) for the click.  */
!   WHEEL_EVENT,                        /* A wheel event is generated by a
!                                  wheel on a mouse (e.g., MS
!                                  Intellimouse).
!                                  .modifiers holds the rotate
!                                  direction (up or down), and the
!                                  state of the modifier keys.
                                   .x and .y give the mouse position,
                                   in characters, within the window.
                                   .frame_or_window gives the frame
                                   the wheel event occurred in.
                                   .timestamp gives a timestamp (in
!                                  milliseconds) for the event.  */
  #ifdef WINDOWSNT
    LANGUAGE_CHANGE_EVENT,      /* A LANGUAGE_CHANGE_EVENT is generated
                                   on WINDOWSNT when the keyboard layout
***************
*** 377,382 ****
--- 371,378 ----
    Lisp_Object arg;
  };
  
+ #define EVENT_INIT(event) bzero (&(event), sizeof (struct input_event))
+ 
  /* Called to read input events.  */
  extern int (*read_socket_hook) P_ ((int, struct input_event *, int, int));
  
***************
*** 434,436 ****
--- 430,435 ----
  };
  
  #endif
+ 
+ /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d
+    (do not change this comment) */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]