/[emacs]/emacs/src/macterm.c
ViewVC logotype

Diff of /emacs/src/macterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by kfstorm, Sat May 24 22:00:34 2003 UTC revision 1.46 by jasonr, Wed Jun 4 22:03:44 2003 UTC
# Line 7682  XTread_socket (int sd, struct input_even Line 7682  XTread_socket (int sd, struct input_even
7682                  GetEventParameter(eventRef, kEventParamMouseLocation,                  GetEventParameter(eventRef, kEventParamMouseLocation,
7683                                    typeQDPoint, NULL, sizeof (Point),                                    typeQDPoint, NULL, sizeof (Point),
7684                                    NULL, &point);                                    NULL, &point);
7685                  bufp->kind = MOUSE_WHEEL_EVENT;                  bufp->kind = WHEEL_EVENT;
7686                  bufp->code = delta;                  bufp->code = 0;
7687                  bufp->modifiers = mac_event_to_emacs_modifiers(eventRef);                  bufp->modifiers = (mac_event_to_emacs_modifiers(eventRef)
7688                                       | ((delta < 0) ? down_modifier
7689                                                      : up_modifier));
7690                  SetPort (GetWindowPort (window_ptr));                  SetPort (GetWindowPort (window_ptr));
7691                  GlobalToLocal (&point);                  GlobalToLocal (&point);
7692                  XSETINT (bufp->x, point.h);                  XSETINT (bufp->x, point.h);

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26